X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2FMakefile;h=95a3c7b79e2def8503434c05e25e1c10e6acc44e;hb=d27e7c35612f632ab868138d4d97641ba9da2510;hp=8547d4ea3956f0d4efe504d7cdc82988f48b4506;hpb=93e42611802704d6fa9cd096c7f76faa799dc501;p=mkws-moved-to-github.git diff --git a/test/Makefile b/test/Makefile index 8547d4e..95a3c7b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -14,7 +14,7 @@ IMAGES= ./images SCREENSHOT_WIDTH= 360 480 640 768 1024 1200 1440 2048 PERL_SCRIPTS= bin/bomb.pl TMP_DIR= ./logs -APACHE_HTTPD= /usr/sbin/apache2 +APACHE_HTTPD:= $(shell env PATH=$$PATH:/usr/sbin which apache2 httpd false | head -1 ) all: check @@ -50,7 +50,7 @@ phantomjs p: apache-stop apache-start _phantomjs ${MAKE} apache-stop _phantomjs: - ./bin/bomb.pl --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT} + perl ./bin/bomb.pl --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT} mike-test: $(MAKE) _phantomjs PHANTOMJS_URL=http://x.example.indexdata.com/jasmine-popup.html @@ -103,5 +103,5 @@ help: @echo " [ node-modules ]" @echo " [ apache-stop apache-start ]" @echo "" - @echo "DEBUG=1 make phantomjs PHANTOMJS_TIMEOUT=8 PHANTOMJS_URL=${PHANTOMJS_URL}" + @echo "DEBUG=1 make phantomjs PHANTOMJS_TIMEOUT=12 PHANTOMJS_URL=${PHANTOMJS_URL}"