Increase autopkgtest speed

This commit is contained in:
Xavier 2019-08-20 21:44:42 +02:00
parent 28732d614b
commit e32eb491d2
5 changed files with 1782 additions and 2 deletions

View File

@ -386,8 +386,12 @@ portal_test: portal
manager_test: manager
@$(MAKE) -C ${SRCMANAGERDIR} test
autopkgtest: all
./debian/tests/runner build-deps
autopkgtest: autopkg_common autopkg_handler autopkg_manager autopkg_portal autopkg_runtime
autopkg_%:
./debian/tests/runner build-deps lemonldap-ng-$*
autopkg_runtime:
./debian/tests/runner runtime-deps
#/usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends

View File

@ -1,2 +1,3 @@
.proverc
t
lemonldap-ng.ini

View File

@ -1,3 +1,5 @@
.prove
.proverc
t
site/templates
site/htdocs/static/common/icons/ok.png

7
debian/tests/runner vendored
View File

@ -24,6 +24,9 @@ for LLLIB in $LIST; do
fi
done
cd $LLSOURCEDIR/$LLLIB
cp .proverc .proverc.$$
echo '--state=slow' >> $LLSOURCEDIR/$LLLIB/.proverc
echo '--j 8' >> $LLSOURCEDIR/$LLLIB/.proverc
SKIPLIST=debian/tests/pkg-perl/SKIP
SKIPTMP=$(mktemp)
@ -44,6 +47,10 @@ for LLLIB in $LIST; do
if [ $EXITCODE = 0 ]; then EXITCODE=$RET; fi
fi
done
cd $LLSOURCEDIR/$LLLIB
pwd
ls -l .prov*
mv -f .proverc.$$ .proverc
cd $LLSOURCEDIR
rm -rf $LLSOURCEDIR/$LLLIB/debian

1766
lemonldap-ng-portal/.prove Normal file

File diff suppressed because it is too large Load Diff