summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2017-02-11 22:38:09 -0800
committerMark Adler <madler@alumni.caltech.edu>2017-02-15 22:39:26 -0800
commite00a2bd392ca51351ecee55dbeee803f6ebda2f5 (patch)
tree0fe31ce886deff75502c5811c71300c242753b5c /Makefile.in
parenta3622937453f517285f851817a7505f54f4f19aa (diff)
downloadzlib-e00a2bd392ca51351ecee55dbeee803f6ebda2f5.tar.gz
Have Makefile return non-zero error code on test failure.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 1a1f0d8..3413266 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -91,8 +91,8 @@ teststatic: static
echo ' *** zlib test OK ***'; \
else \
echo ' *** zlib test FAILED ***'; false; \
- fi; \
- rm -f $$TMPST
+ fi
+ @rm -f tmpst_$$
testshared: shared
@LD_LIBRARY_PATH=`pwd`:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \
@@ -104,8 +104,8 @@ testshared: shared
echo ' *** zlib shared test OK ***'; \
else \
echo ' *** zlib shared test FAILED ***'; false; \
- fi; \
- rm -f $$TMPSH
+ fi
+ @rm -f tmpsh_$$
test64: all64
@TMP64=tmp64_$$; \
@@ -113,8 +113,8 @@ test64: all64
echo ' *** zlib 64-bit test OK ***'; \
else \
echo ' *** zlib 64-bit test FAILED ***'; false; \
- fi; \
- rm -f $$TMP64
+ fi
+ @rm -f tmp64_$$
infcover.o: $(SRCDIR)test/infcover.c $(SRCDIR)zlib.h zconf.h
$(CC) $(CFLAGS) $(ZINCOUT) -c -o $@ $(SRCDIR)test/infcover.c