X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2FMakefile;h=308fca16295a803e498e24947ccccf255fe16ada;hp=e3fa61a0391551784259fe219ca797a83dddad94;hb=6032621cef45d171adf3da84762c45b0aac6cdd7;hpb=922864423ba8362bceea0f1d069da6ea4e51b180 diff --git a/test/Makefile b/test/Makefile index e3fa61a..308fca1 100644 --- a/test/Makefile +++ b/test/Makefile @@ -8,7 +8,7 @@ APACHE_PORT:= $(shell echo $${APACHE_PORT-4040}) #PHANTOMJS_URL=https://mkws-dev.indexdata.com/jasmine-popup.html PHANTOMJS_PATH=jasmine-local-popup.html PHANTOMJS_URL=http://localhost:${APACHE_PORT}/${PHANTOMJS_PATH} -PHANTOMJS_TIMEOUT=30 +PHANTOMJS_TIMEOUT ?= 30 NPM_INSTALL_FLAGS=-q JASMINE_NODE= ./node_modules/jasmine-node/bin/jasmine-node @@ -61,12 +61,12 @@ phantomjs p: check-js apache-stop apache-start _phantomjs ${MAKE} apache-stop _phantomjs: - perl ./bin/bomb.pl --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT} + ./bin/bomb --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT} phantomjs-all p-all: ${MAKE} phantomjs PHANTOMJS_PATH=jasmine-local-popup.html ${MAKE} phantomjs PHANTOMJS_PATH=jasmine-popup.html - ${MAKE} phantomjs PHANTOMJS_PATH=jasmine-cors-popup.html + ${MAKE} phantomjs PHANTOMJS_PATH=jasmine-cms-popup.html ${MAKE} phantomjs PHANTOMJS_PATH=jasmine.html mike-test: