X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=test%2Fwidgets%2FMakefile;h=695f237f8028a6fad06a173bb5fde7505659505c;hb=5f44abe653fc4bd899d824b141943477e94f1e20;hp=ec22408b7841d0cf9089f9d84c0427018e8b05d7;hpb=0d027f85521454a58e4eaa766e524337f45446ad;p=mkws-moved-to-github.git diff --git a/test/widgets/Makefile b/test/widgets/Makefile index ec22408..695f237 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -35,8 +35,8 @@ screenshots: clean estimate-time iframe set -e; \ for t in ${TESTS}; do \ for i in $$(cat url.$$t); do \ - ${MAKE} PHANTOMJS_URL="$$i" TIMEOUT=4 PREFIX=$$t screenshot; \ - done; \ + ${MAKE} PHANTOMJS_URL="$$i" TIMEOUT=4 PREFIX=$$t screenshot & sleep 1; \ + done; wait; \ ${MAKE} PREFIX=$$t index; \ done ${MAKE} tidy help-url @@ -46,7 +46,7 @@ help-url: @echo "Please check now: http://localhost/test/widgets/" estimate-time: - @wc -l url.* | tail -n1 | awk '{print "Estimeate run time: " $$1 * (1 + '${TIMEOUT}'), "seconds" }' + @wc -l url.* | tail -n1 | awk '{print "Estimeate run time: " $$1 * (1 + '${TIMEOUT}') * 0.5, "seconds" }' @echo "" index: @@ -54,12 +54,13 @@ index: iframe: index-iframe-demo index-iframe-demo: - ( cat url.demos | perl -ne 'chomp; print qq{