From: Mark Adler Date: Sun, 12 Feb 2017 06:38:09 +0000 (-0800) Subject: Have Makefile return non-zero error code on test failure. X-Git-Tag: 1.9.9-b1~568 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37e27eb4e677400a3a03b58e5149f04965d70be;p=thirdparty%2Fzlib-ng.git Have Makefile return non-zero error code on test failure. --- diff --git a/test/Makefile.in b/test/Makefile.in index b36913fb..dbfee57a 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -51,8 +51,8 @@ teststatic: check_cross_dep echo ' *** zlib test OK ***'; \ else \ echo ' *** zlib test FAILED ***'; exit 1; \ - fi; \ - rm -f $$TMPST + fi + @rm -f tmpst_$$ testshared: check_cross_dep @LD_LIBRARY_PATH=`pwd`/..:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \ @@ -64,8 +64,8 @@ testshared: check_cross_dep echo ' *** zlib shared test OK ***'; \ else \ echo ' *** zlib shared test FAILED ***'; exit 1; \ - fi; \ - rm -f $$TMPSH + fi + @rm -f tmpsh_$$ test64: check_cross_dep @TMP64=tmp64_$$; \ @@ -73,8 +73,8 @@ test64: check_cross_dep echo ' *** zlib 64-bit test OK ***'; \ else \ echo ' *** zlib 64-bit test FAILED ***'; exit 1; \ - fi; \ - rm -f $$TMP64 + fi + @rm -f tmp64_$$ cvetests: testCVEinputs