aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/bmake/separate-tests.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-06-12 07:29:39 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-06-12 07:29:39 +0000
commit56431a6959312e549b43ccace3cc194a92b94517 (patch)
tree05f238295d61b06ea7ae0d65e3f28bddc10a05b8 /repos/extra/bmake/separate-tests.patch
parent4088153d1155ea46155b33010bda0e3305498529 (diff)
downloadalicelinux-56431a6959312e549b43ccace3cc194a92b94517.tar.gz
alicelinux-56431a6959312e549b43ccace3cc194a92b94517.zip
bmake: new added
Diffstat (limited to 'repos/extra/bmake/separate-tests.patch')
-rw-r--r--repos/extra/bmake/separate-tests.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/repos/extra/bmake/separate-tests.patch b/repos/extra/bmake/separate-tests.patch
new file mode 100644
index 00000000..58a63e84
--- /dev/null
+++ b/repos/extra/bmake/separate-tests.patch
@@ -0,0 +1,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 2024-03-15 11:26:18.664828810 +0100
++++ bmake/boot-strap 2024-03-15 11:27:12.081555010 +0100
+@@ -435,9 +435,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) rm -f tested; op_test;;
+- esac
+ }
+
+ op_test() {
+@@ -461,7 +458,6 @@ op_clean() {
+ }
+
+ op_install() {
+- op_test
+ case "$INSTALL_PREFIX,$INSTALL_BIN,$prefix" in
+ ,$HOST_TARGET/bin,*/$HOST_TARGET)
+ INSTALL_PREFIX=`dirname $prefix`