makepkg: Add check() function for running test suites
commit0c29eb431a26467fc5ec14742cfcdc7ce3558334
authorAllan McRae <allan@archlinux.org>
Wed, 15 Dec 2010 14:06:43 +0000 (16 00:06 +1000)
committerDan McGee <dan@archlinux.org>
Thu, 30 Dec 2010 01:28:00 +0000 (29 19:28 -0600)
tree282a6284582e2b0dd21656cd990bddd5f6e993b0
parentd22777146446ecaf8b4b9c0afd593d23c5c9766e
makepkg: Add check() function for running test suites

A PKGBUILD can have an option check() function for running test suites
between the build() and package() stages.  This function is run by
default but can be disabled globally in with "!check" in BUILDENV in
makepkg.conf. This setting can be controlled on an individual package
basis using makepkg's --check and --nocheck flags. Addition dependencies
needed for running the test suite can be specified in the checkdepends
array and are only checked when running the check() function.

Original-work-by: Jeff C <jeff@kcaccess.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
PKGBUILD-split.proto
PKGBUILD.proto
doc/PKGBUILD.5.txt
doc/makepkg.8.txt
doc/makepkg.conf.5.txt
etc/makepkg.conf.in
scripts/makepkg.sh.in