From: Wolfram Schneider Date: Thu, 9 Oct 2014 14:51:00 +0000 (+0000) Subject: atomar screenshot files X-Git-Tag: 1.0.0~258^2~1^2~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=e1a241b58750ee3601cf8a282778398e518078e9;p=mkws-moved-to-github.git atomar screenshot files --- diff --git a/test/widgets/Makefile b/test/widgets/Makefile index 8a0dbd0..244bc90 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -16,7 +16,7 @@ all: help clean: rm -f mkws-error.png mkws-error.html - rm -f ${IMAGES}/*.png + rm -f ${IMAGES}/*.png ${IMAGES}/*.png.tmp rm -f ${IMAGES}/index.html distclean: clean @@ -25,7 +25,8 @@ test: check screenshot: file=$$(echo "${PHANTOMJS_URL}" | perl -npe 's,(\W),-,g'); \ - ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT} + ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/tmp.$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT}; \ + mv -f ${IMAGES}/tmp.$$file.png ${IMAGES}/$$file.png screenshots: for i in $$(cat url.txt); do \