Increase autopkgtest speed
This commit is contained in:
parent
28732d614b
commit
e32eb491d2
8
Makefile
8
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
.proverc
|
||||
t
|
||||
lemonldap-ng.ini
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.prove
|
||||
.proverc
|
||||
t
|
||||
site/templates
|
||||
site/htdocs/static/common/icons/ok.png
|
||||
|
|
|
@ -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
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue