X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2FMakefile;h=b89b4e1d513d0b10f28a363c0e127b424eb29e4f;hb=d802e65ded779b553d1055703d424cb5b2e5b7b9;hp=6f6d637bf38da9f74a62159dabfc578a840cb3e0;hpb=9d52a0bf9dcc57cb339d42ca1e4b637894d507e5;p=mkws-moved-to-github.git diff --git a/test/Makefile b/test/Makefile index 6f6d637..b89b4e1 100644 --- a/test/Makefile +++ b/test/Makefile @@ -46,9 +46,13 @@ test: check terse: $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec -phantomjs p: apache-stop apache-start +phantomjs p: apache-stop apache-start _phantomjs apache-stop + +_phantomjs: ./bin/bomb.pl --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT} - ${MAKE} apache-stop + +mike-test: + $(MAKE) _phantomjs PHANTOMJS_URL=http://x.example.indexdata.com/jasmine-popup.html screenshot: ${PHANTOMJS} phantom/screenshot.js ${PHANTOMJS_URL} ${IMAGES}/screenshot.png 1200 1000