X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fwidgets%2FMakefile;h=8a0dbd062eb7e55f23211ae76620fb622cefa742;hb=62b303b34d69f9cf1f18e9351a00317a3331ee40;hp=0cd4805efa11b67bc567c42c1745167cb0d526da;hpb=071252b434b22d16ee1c18db2ae5c8615ef9f993;p=mkws-moved-to-github.git diff --git a/test/widgets/Makefile b/test/widgets/Makefile index 0cd4805..8a0dbd0 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -24,7 +24,7 @@ distclean: clean test: check screenshot: - file=$$(echo "${PHANTOMJS_URL}" | ${MD5} | perl -npe 's,\s.*,,'); \ + file=$$(echo "${PHANTOMJS_URL}" | perl -npe 's,(\W),-,g'); \ ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT} screenshots: @@ -34,7 +34,7 @@ screenshots: make index index: - cd ${IMAGES}; ls *.png | perl -ne 'chomp; print qq{$$_
\n}' > index.html + cd ${IMAGES}; ls -tr *.png | perl -ne 'chomp; print qq{

$$_



\n}' > index.html help: @echo "make [ all | clean | distclean ]"