automatically run autopkgtest when the package includes them

This commit is contained in:
Hans-Christoph Steiner 2018-06-04 20:15:41 +02:00
parent 58285e0e1b
commit 1312254a5d
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ if [[ ! -f $lockfile ]] ; then
su --shell /bin/sh nobody --command "lintian --color always -EviIL +pedantic ../*.changes" || true
echo "performing ftp-master-rejects lintian checks"
su --shell /bin/sh nobody --command "lintian --color always -viF ../*.changes"
if [ -e debian/tests/control ]; then
autopkgtest ../*.changes -- null
fi
fi
[[ $CI ]] && touch $lockfile