xbps-src: always enable checks for the check target

This commit is contained in:
Michael Gehring 2017-11-20 12:45:03 +00:00
parent 565de75a06
commit 1a5b47bcc3
1 changed files with 3 additions and 0 deletions

View File

@ -707,6 +707,9 @@ case "$XBPS_TARGET" in
fi
;;
fetch|extract|build|check|configure|install|pkg)
if [ "$XBPS_TARGET" = "check" ]; then
export XBPS_CHECK_PKGS=1
fi
read_pkg
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
chroot_handler $XBPS_TARGET $XBPS_TARGET_PKG