mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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>
This commit is contained in:
parent
57e1e7e742
commit
7dfae65ce9
33
patches/zlib/1.2.11/100-make-check-fail.patch
Normal file
33
patches/zlib/1.2.11/100-make-check-fail.patch
Normal file
@ -0,0 +1,33 @@
|
||||
'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
|
Loading…
x
Reference in New Issue
Block a user