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
@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: