?mode=patch&uid=2006120615574126771
Open Patch: 2006120615574126771 (by stf)
+ stf
Votecheck 'core-strong': Missing 1 qualified vote(s) (clifford, fake, teha)
scripts/functions
Stefan Fiedler:
failing checks should not break package builds; hence execute
make check and make test with set +e.
Note: this is tested to not break anything, but not tested to work.
Stefan Fiedler:
failing checks should not break package builds; hence execute
make check and make test with set +e.
Note: this is tested to not break anything, but not tested to work.
--- scripts/functions (Revision 35)
+++ scripts/functions (Arbeitskopie)
@@ -305,14 +305,18 @@
# run 'make check' if Makefile supports it.
#
function run_check() {
- if grep -q -e "^check:" ./Makefile; then
- echo "Running make check ..."
- $MAKE check
- fi
- if grep -q -e "^test:" ./Makefile; then
- echo "Running make test ..."
- $MAKE test
- fi
+ (
+ # Some checks may fail intentionally.
+ set +e
+ if grep -q -e "^check:" ./Makefile; then
+ echo "Running make check ..."
+ $MAKE check
+ fi
+ if grep -q -e "^test:" ./Makefile; then
+ echo "Running make test ..."
+ $MAKE test
+ fi
+ )
}
# move the static libs from lib to usr/lib and correct the libdir used
[Download this patch]