summaryrefslogtreecommitdiff
path: root/system/abuild/0001-abuild-add-env-option-to-require-tests.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-19 22:29:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-19 22:29:44 -0500
commit6a9b6c9d44711b15ffa435b8cb9d8e16b4d4f2b8 (patch)
treed9ee254f637d2b9104e732a6e7806278fc71749d /system/abuild/0001-abuild-add-env-option-to-require-tests.patch
parent9525f51dde4cbbadc078d05abdaff4b8c28f9e97 (diff)
downloadpackages-6a9b6c9d44711b15ffa435b8cb9d8e16b4d4f2b8.tar.gz
packages-6a9b6c9d44711b15ffa435b8cb9d8e16b4d4f2b8.tar.bz2
packages-6a9b6c9d44711b15ffa435b8cb9d8e16b4d4f2b8.tar.xz
packages-6a9b6c9d44711b15ffa435b8cb9d8e16b4d4f2b8.zip
system/abuild: bump to 3.2.0_rc1, add -doc
Diffstat (limited to 'system/abuild/0001-abuild-add-env-option-to-require-tests.patch')
-rw-r--r--system/abuild/0001-abuild-add-env-option-to-require-tests.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/system/abuild/0001-abuild-add-env-option-to-require-tests.patch b/system/abuild/0001-abuild-add-env-option-to-require-tests.patch
deleted file mode 100644
index 49497421b..000000000
--- a/system/abuild/0001-abuild-add-env-option-to-require-tests.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From d85a92478fc8a95bdcb4bf84c30c20ca935abc08 Mon Sep 17 00:00:00 2001
-From: Carlo Landmeter <clandmeter@gmail.com>
-Date: Tue, 24 Oct 2017 14:48:52 +0200
-Subject: [PATCH] abuild: add env option to require tests
-
-This adds an env option REQUIRE_CHECK to require testsuites to
-be run. This does not clutter getopts so it can be safely removed
-afterwards when we enforce tests globally. This will allow our CI
-infrastructure to enforce testsuites where possible.
----
- abuild.in | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/abuild.in b/abuild.in
-index 41b465d..7e3c818 100644
---- a/abuild.in
-+++ b/abuild.in
-@@ -226,6 +226,12 @@ default_sanitycheck() {
- check_secfixes_comment || return 1
-
- makedepends_has 'g++' && ! options_has toolchain && warning "g++ should not be in makedepends"
-+
-+ if ! options_has "!check" && [ -n "$REQUIRE_CHECK" ]; then
-+ (unset check; . "$APKBUILD"; type check >/dev/null 2>&1) || \
-+ die "Testsuites (abuild check) are required or needs to be explicitly disabled!"
-+ fi
-+
- return 0
- }
-
---
-2.14.2
-