aboutsummaryrefslogtreecommitdiff
path: root/src/js/tests/build.mk
blob: 041e20752392124d26e4de40dd30cc358142ea24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

js-test-dir := $(path)

clean::
	$(RM) -r $(js-test-dir)/reports


# Jasmine Specs ###############################################################

ifeq "$(PHANTOM_EXE)" ""
$(call strict-error,"phantomjs not found, unable to run javascript tests")
else

test: test-js
test-js:
	cd $(topdir)/src/js && $(PHANTOM_EXE)                  \
	  lib/phantomjs_jasmine/phantomjs_jasminexml_runner.js \
	  tests/PhantomJSJasmineRunner.html tests/reports/

endif