aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Benjamin Jones <bjones@galois.com>2012-11-28 11:07:13 -0800
committerGravatar Benjamin Jones <bjones@galois.com>2012-11-28 11:07:13 -0800
commitc91029e21f6cff1a58f71aec2f3e2dce182a5ea1 (patch)
tree36a0a8bd8bae13d99ecdc04d7be7a1c67ee0a423 /Makefile
parentc1fb1c2d41c015699f9fc325db3609070af3bdbf (diff)
added rsTester and headless tests to the 'make test' target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cabc2d5..1724ebf 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,8 @@ REPO_ROOT=.
CHROME_EXTDIR=contexts
FF_EXTDIR=contexts
TEST_RUNNER_DIR=testrunner
+HEADLESS_DIR=headless
+RSTESTER_DIR=rsTester
DOC_DIR=doc
UNAME := $(shell uname)
@@ -29,7 +31,7 @@ MVN_EXE=`which mvn`
# MVN_EXE=/usr/local/apache-maven-3.0.4/bin/mvn
else
# Non-Linux platfoms not yet supported
-MVN_EXE=""
+MVN_EXE=`which mvn`
endif
define profile
@@ -66,8 +68,10 @@ $(eval $(call profile,firefox))
$(eval $(call profile,chrome))
-test: chromeExtension profile-chrome profile-firefox
+test: chromeExtension profile-chrome profile-firefox ffExtension
cd $(TEST_RUNNER_DIR) && $(MVN_TEST_CMD)
+ cd $(RSTESTER_DIR) && $(MVN_TEST_CMD)
+ cd $(HEADLESS_DIR) && $(MVN_TEST_CMD)
.PHONY: doc
doc: doc/jsdoc doc/manual