From: Christos Zoulas Date: Mon, 18 Apr 2016 18:16:45 +0000 (+0000) Subject: exit on error. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=194e17161ca3dee5cfc803e7e06f97278c345ffc;p=file exit on error. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index c2cb5eee..e55cdf46 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -13,4 +13,4 @@ issue311docx.testfile T = $(top_srcdir)/tests check-local: MAGIC=$(top_builddir)/magic/magic ./test - for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done + set -e; for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done