separate-tests.patch (783B)
1 By default tests are run on build and install. Normally, Alpine 2 tests are invoked separately in a check stage. To allow doing 3 that this patch disable the automatic test invocations during build and 4 install. 5 6 diff -upr bmake.orig/boot-strap bmake/boot-strap 7 --- bmake.orig/boot-strap 2024-03-15 11:26:18.664828810 +0100 8 +++ bmake/boot-strap 2024-03-15 11:27:12.081555010 +0100 9 @@ -435,9 +435,6 @@ op_build() { 10 [ -s make-bootstrap.sh ] || op_configure 11 chmod 755 make-bootstrap.sh || exit 1 12 ./make-bootstrap.sh || exit 1 13 - case "$op" in 14 - build) rm -f tested; op_test;; 15 - esac 16 } 17 18 op_test() { 19 @@ -461,7 +458,6 @@ op_clean() { 20 } 21 22 op_install() { 23 - op_test 24 case "$INSTALL_PREFIX,$INSTALL_BIN,$prefix" in 25 ,$HOST_TARGET/bin,*/$HOST_TARGET) 26 INSTALL_PREFIX=`dirname $prefix`