shell for loop must fail in case of an error
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 5 Nov 2014 16:20:01 +0000 (16:20 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 5 Nov 2014 16:20:01 +0000 (16:20 +0000)
test/widgets/Makefile

index e2d3581..e693a15 100644 (file)
@@ -32,6 +32,7 @@ screenshot:
          mv -f  ${IMAGES}/tmp.$$file.png  ${IMAGES}/$$file.png
 
 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; \