void-packages/common/xbps-src/libexec
Jürgen Buchmüller c31dd888f6 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"`.
2017-03-08 11:33:48 +01:00
..
build.sh xbps-src: implement a 'check' stage 2017-03-08 11:33:48 +01:00
xbps-src-dobuild.sh xbps-src: repair -f <phase> again; close #2617 2015-09-27 18:49:38 +02:00
xbps-src-docheck.sh xbps-src: implement a 'check' stage 2017-03-08 11:33:48 +01:00
xbps-src-doconfigure.sh xbps-src: repair -f <phase> again; close #2617 2015-09-27 18:49:38 +02:00
xbps-src-doextract.sh xbps-src: replace basename(1) with ${var##*/}. 2015-09-11 07:55:40 +02:00
xbps-src-dofetch.sh xbps-src: replace basename(1) with ${var##*/}. 2015-09-11 07:55:40 +02:00
xbps-src-doinstall.sh xbps-src/doinstall: touch install state file after running post-install too. 2015-09-27 18:51:58 +02:00
xbps-src-dopkg.sh xbps-src: replace basename(1) with ${var##*/}. 2015-09-11 07:55:40 +02:00
xbps-src-prepkg.sh xbps-src: -f <phase> now works for configure/build/install/pkg phases. 2015-09-24 15:45:47 +02:00