From: Mike Taylor Date: Tue, 15 Apr 2014 10:55:16 +0000 (+0100) Subject: Added "mike-test" target for PhantomJS invocation. X-Git-Tag: 1.0.0~956 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=d802e65ded779b553d1055703d424cb5b2e5b7b9 Added "mike-test" target for PhantomJS invocation. --- diff --git a/test/Makefile b/test/Makefile index 050528f..b89b4e1 100644 --- a/test/Makefile +++ b/test/Makefile @@ -51,6 +51,9 @@ 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} +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