diff options
author | Benjamin Jones <bjones@galois.com> | 2013-05-24 17:17:44 -0700 |
---|---|---|
committer | Benjamin Jones <bjones@galois.com> | 2013-05-24 17:17:44 -0700 |
commit | 8653d505ecc3a1d0075b60904989b05b01e02d28 (patch) | |
tree | 0c6759a0743d580fa73a8db9c5c4c8098f8e2737 /Makefile | |
parent | 9fcfe08332ec6a1ccb77706d3edb6f83989d29ab (diff) |
added test-js target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -85,3 +85,14 @@ test: chromeExtension profile-chrome profile-firefox ffExtension pkg-rsTester cd $(HEADLESS_DIR) && $(MVN_TEST_CMD) endif + + +# JS Unit Tests ############################################################### + +PHANTOM_EXE := $(shell which phantomjs 2>/dev/null) +ifneq "$PHANTOM_EXE" "" + +test-js: + cd $(topdir)/contexts/data && $(PHANTOM_EXE) lib/phantomjs_jasmine/phantomjs_jasminexml_runner.js tests/PhantomJSJasmineRunner.html tests/reports/ + +endif |