diff options
author | Benjamin Jones <bjones@galois.com> | 2012-11-28 13:50:24 -0800 |
---|---|---|
committer | Benjamin Jones <bjones@galois.com> | 2012-11-28 13:50:24 -0800 |
commit | a587e5dd532606d2be30751043f14771e2b9d889 (patch) | |
tree | 4a51ab5bd9cef3b5d5c64eb9d9ee1fc58124c67d /Makefile | |
parent | c91029e21f6cff1a58f71aec2f3e2dce182a5ea1 (diff) |
added pkg-rsTester and pkg-headless targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -48,6 +48,14 @@ clean-profile-$1: clean: clean-profile-$1 endef +# package/install various maven sub-projects +define pkg +.PHONY: pkg-$1 +pkg-$1: + cd $1; xvfb-run -a $(MVN_EXE) install + +endef + MVN_TEST_CMD=xvfb-run -a $(MVN_EXE) test all: chromeExtension @@ -68,7 +76,12 @@ $(eval $(call profile,firefox)) $(eval $(call profile,chrome)) -test: chromeExtension profile-chrome profile-firefox ffExtension +$(eval $(call pkg,rsTester)) + +$(eval $(call pkg,headless)) + + +test: chromeExtension profile-chrome profile-firefox ffExtension pkg-testrunner pkg-rstester pkg-headless cd $(TEST_RUNNER_DIR) && $(MVN_TEST_CMD) cd $(RSTESTER_DIR) && $(MVN_TEST_CMD) cd $(HEADLESS_DIR) && $(MVN_TEST_CMD) |