]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Have Makefile return non-zero error code on test failure.
authorMark Adler <madler@alumni.caltech.edu>
Sun, 12 Feb 2017 06:38:09 +0000 (22:38 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 15 Jan 2019 09:58:16 +0000 (10:58 +0100)
test/Makefile.in

index b36913fb681e57a7d6cb53711393e0198575880d..dbfee57a66cb60f094ef7c5417151e7fc6783dab 100644 (file)
@@ -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