aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJürgen Buchmüller <pullmoll@t-online.de>2017-02-23 21:03:31 +0000
committerJürgen Buchmüller <pullmoll@t-online.de>2017-03-08 10:33:48 +0000
commitc31dd888f62b406645a07f046048007ebcfe05d4 (patch)
tree924f881cfadc4ccad1daeba71dcfa14ff4c7ec94 /etc
parentf9dface61cdf31b9dff20e360e26bc247fff2007 (diff)
downloadvoid-packages-c31dd888f62b406645a07f046048007ebcfe05d4.tar
void-packages-c31dd888f62b406645a07f046048007ebcfe05d4.tar.gz
void-packages-c31dd888f62b406645a07f046048007ebcfe05d4.tar.bz2
void-packages-c31dd888f62b406645a07f046048007ebcfe05d4.tar.lz
void-packages-c31dd888f62b406645a07f046048007ebcfe05d4.tar.xz
void-packages-c31dd888f62b406645a07f046048007ebcfe05d4.tar.zst
void-packages-c31dd888f62b406645a07f046048007ebcfe05d4.zip
xbps-src: implement a 'check' stage
Add another stage 'check' between 'build' and 'install'. It is be enabled using the variable XBPS_CHECK_PKGS=yes and disabled if unset, set to "0" or "no" in your local etc/conf. A new xbps-src option `-q` for `quick` will disable XBPS_CHECK_PKGS by overriding it to 0. If enabled, `common/xbps-src/shutils/xbps-src-docheck.sh` checks for an existing `do_check()` function in the package's template and, if it exists, calls it. A new template variable `checkdepends` may be present and list packages required to run the `do_check()` function. Example: `checkdepends="bc unittest-cpp"`.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/defaults.conf b/etc/defaults.conf
index 72ee2462a14..701444500a4 100644
--- a/etc/defaults.conf
+++ b/etc/defaults.conf
@@ -64,6 +64,11 @@ XBPS_SUCMD="sudo /bin/sh -c"
#XBPS_USE_GIT_REVS=yes
# [OPTIONAL]
+# Enable running the (optional) do_check() function of a package.
+#
+#XBPS_CHECK_PKGS=yes
+
+# [OPTIONAL]
# Enable building -dbg subpackages with debugging symbols. Please note
# that building with debugging symbols make take a long while in some
# packages even on computers with a fast CPU; as well as needs lots of