aboutsummaryrefslogtreecommitdiffstats
path: root/community/bmake/separate-tests.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-02-15 20:28:19 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-02-15 20:52:24 +0100
commiteef9a6010fc8b9cc70ff842050851d99ff5bb2db (patch)
tree550b59263ba734cf73cf228f1ea5b1ccfcd1b393 /community/bmake/separate-tests.patch
parenta68949ce1b6c16929b2bca70ae96dda26859ce71 (diff)
downloadaports-eef9a6010fc8b9cc70ff842050851d99ff5bb2db.tar.bz2
aports-eef9a6010fc8b9cc70ff842050851d99ff5bb2db.tar.xz
community/bmake: move from testing
Diffstat (limited to 'community/bmake/separate-tests.patch')
-rw-r--r--community/bmake/separate-tests.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/bmake/separate-tests.patch b/community/bmake/separate-tests.patch
new file mode 100644
index 0000000000..0e306652c1
--- /dev/null
+++ b/community/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 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`