aboutsummaryrefslogtreecommitdiffstats
path: root/community/bmake/separate-tests.patch
blob: 0e306652c138dce0264197aa1e176369ff400e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
By default tests are run on build and install. Normally, Alpine
tests are invoked separately in a check stage. To allow doing
that this patch disable the automatic test invocations during build and
install.

diff -upr bmake.orig/boot-strap bmake/boot-strap
--- bmake.orig/boot-strap	2019-12-21 13:39:52.658136365 +0100
+++ bmake/boot-strap	2019-12-21 13:40:25.954816539 +0100
@@ -414,9 +414,6 @@ op_build() {
 	[ -s make-bootstrap.sh ] || op_configure
 	chmod 755 make-bootstrap.sh || exit 1
 	./make-bootstrap.sh || exit 1
-	case "$op" in
-	build) op_test;;
-	esac
 }
 
 op_test() {
@@ -435,7 +432,6 @@ op_clean() {
 }
 
 op_install() {
-	op_test
 	case "$INSTALL_PREFIX,$INSTALL_BIN,$prefix" in
 	,$HOST_TARGET/bin,*/$HOST_TARGET)
 		INSTALL_PREFIX=`dirname $prefix`