diff options
Diffstat (limited to 'src/js/tests/build.mk')
-rw-r--r-- | src/js/tests/build.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/js/tests/build.mk b/src/js/tests/build.mk new file mode 100644 index 0000000..b49109d --- /dev/null +++ b/src/js/tests/build.mk @@ -0,0 +1,18 @@ + +js-test-dir := $(path) + +clean:: + $(RM) -r $(js-test-dir)/reports + + +# Jasmine Specs ############################################################### + +ifneq "$(PHANTOM_EXE)" "" + +test: test-js +test-js: + cd $(topdir)/src/js && $(PHANTOM_EXE) \ + lib/phantomjs_jasmine/phantomjs_jasminexml_runner.js \ + tests/PhantomJSJasmineRunner.html tests/reports/ + +endif |