From d802e65ded779b553d1055703d424cb5b2e5b7b9 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 15 Apr 2014 11:55:16 +0100 Subject: [PATCH] Added "mike-test" target for PhantomJS invocation. --- test/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.10.4