summaryrefslogtreecommitdiff
path: root/APKBUILD.5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-06-06 01:20:09 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-09-18 17:43:01 -0500
commitbcc4c863122ce07658d0c44fae3875c2c7a5ae97 (patch)
tree2d90e74d05fce5d5ce49c456dacc0596c8ae474c /APKBUILD.5
parent9562f576c22b48f180d562437701f8e5b14f83ff (diff)
downloadabuild-bcc4c863122ce07658d0c44fae3875c2c7a5ae97.tar.gz
abuild-bcc4c863122ce07658d0c44fae3875c2c7a5ae97.tar.bz2
abuild-bcc4c863122ce07658d0c44fae3875c2c7a5ae97.tar.xz
abuild-bcc4c863122ce07658d0c44fae3875c2c7a5ae97.zip
abuild: Implement a checkretry option
This allows a test suite to be retried automatically in case of flaky or unreliable tests upstream. The default retry count is 5, but can be set in abuild.conf with the variable `$ABUILD_RETRY_COUNT`. Closes: #15
Diffstat (limited to 'APKBUILD.5')
-rw-r--r--APKBUILD.58
1 files changed, 8 insertions, 0 deletions
diff --git a/APKBUILD.5 b/APKBUILD.5
index af22a59..9baf772 100644
--- a/APKBUILD.5
+++ b/APKBUILD.5
@@ -298,6 +298,14 @@ Do not use this option.
.It Cm !check
Specifies that the package will not run a test suite.
The reason for disabling the check phase should be noted in a comment.
+.It Cm checkretry
+Specifies that the package's test suite should be re-run multiple times in
+case of failure. The reason should be noted in a comment. Note that this
+option and
+.Cm checkroot
+cannot be used in the same package;
+.Cm checkretry
+will take precedence.
.It Cm checkroot
Specifies that the package's test suite will be run in
.Xr fakeroot 8 .