Commit Graph

6 Commits

Author SHA1 Message Date
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
Juan RP
869756111e common/environment/README: build_style -> build-style. 2015-02-21 12:25:57 +01:00
Juan RP
32c5ae8e02 common/environment/README: document build_style. 2015-02-21 12:05:22 +01:00
Juan RP
0026342862 Infrastructure changes to allow unsetting template vars/funcs.
xbps-src-112 does not unset those vars/funcs anymore, so it's a work
that must be done via common/environment/setup{,-subpkg}.
2014-03-19 09:03:21 +01:00
Juan RP
16ed344975 Update environment shell snippets for xbps-src>=101. 2014-02-11 11:09:16 +01:00
Juan RP
9b3f5617f4 Update infrastructure for xbps-src >= 100. 2014-01-28 13:07:02 +01:00