From d851cac89116dba949cbdd21108ed93c6ab0fe10 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Tue, 12 Feb 2013 14:21:44 +0100 Subject: [PATCH] Fix the serve-precommit target. When the plovr-jar is being invoked in the serve-precommit target, it needs the JSON files in `test/` as well to have all requirements for headless testing. This should also reenable running the testsuite on our continuous integration server. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 3349b31c0c..63a346f3b7 100755 --- a/build.py +++ b/build.py @@ -193,7 +193,7 @@ def serve(t): @target('serve-precommit', PLOVR_JAR, INTERNAL_SRC) def serve_precommit(t): - t.run('%(JAVA)s', '-jar', PLOVR_JAR, 'serve', 'build/ol-all.json') + t.run('%(JAVA)s', '-jar', PLOVR_JAR, 'serve', 'build/ol-all.json', glob.glob('test/*.json')) virtual('lint', 'build/lint-src-timestamp', 'build/lint-spec-timestamp', 'build/check-requires-timestamp')