crosstool-ng/packages/zlib/1.2.11/100-make-check-fail.patch

34 lines
764 B
Diff
Raw Normal View History

'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