xbps-src: add make_check=ci-skip

This commit is contained in:
Piotr Wójcik 2021-04-20 00:05:49 +02:00 committed by Piotr
parent 6387d40587
commit aa83569fcb
5 changed files with 23 additions and 6 deletions

View file

@ -43,6 +43,12 @@ if [ "$make_check" = extended -a "$XBPS_CHECK_PKGS" != full ]; then
exit 0
fi
if [ "$make_check" = ci-skip ] && [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
msg_warn \
"${pkgname}-${version}_${revision}: skipping here because of make_check=ci-skip. Tests should be run locally.\n"
exit 0
fi
for f in $XBPS_COMMONDIR/environment/check/*.sh; do
source_file "$f"
done