crosstool-ng/patches/zlib/1.2.11/100-make-check-fail.patch
Alexey Neyman 7dfae65ce9 Make zlib's 'make check' actually fail if test fails
Upstream: https://github.com/madler/zlib/pull/225

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-11 12:14:33 -08:00

34 lines
764 B
Diff

'make check' should return with non-zero status
... if the test fails.
--- zlib-1.2.11/Makefile.in.orig 2017-02-11 12:00:37.768094420 -0800
+++ zlib-1.2.11/Makefile.in 2017-02-11 12:01:02.088399001 -0800
@@ -91,7 +91,7 @@
echo ' *** zlib test OK ***'; \
else \
echo ' *** zlib test FAILED ***'; false; \
- fi; \
+ fi
rm -f $$TMPST
testshared: shared
@@ -104,7 +104,7 @@
echo ' *** zlib shared test OK ***'; \
else \
echo ' *** zlib shared test FAILED ***'; false; \
- fi; \
+ fi
rm -f $$TMPSH
test64: all64
@@ -113,7 +113,7 @@
echo ' *** zlib 64-bit test OK ***'; \
else \
echo ' *** zlib 64-bit test FAILED ***'; false; \
- fi; \
+ fi
rm -f $$TMP64
infcover.o: $(SRCDIR)test/infcover.c $(SRCDIR)zlib.h zconf.h