This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository toppred.
commit 02e987dbdb44637c9a9bf8550efb54bae246ee87 Author: Andreas Tille <[email protected]> Date: Sat Jan 31 16:51:52 2015 +0100 Autopkgtest should run properly now --- debian/rules | 14 ++------------ debian/tests/run-unit-test | 10 ++++++++-- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/debian/rules b/debian/rules index b9fd5fa..1757ca5 100755 --- a/debian/rules +++ b/debian/rules @@ -2,27 +2,17 @@ # DH_VERBOSE := 1 -# some helpful variables - uncomment them if needed -# shamelessly stolen from http://jmtd.net/log/awk/ -#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}') -#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//') -#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}') DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}') -#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf) -#GIT_TAG := $(subst ~,_,$(VERSION)) - -# alternatively to manually set those variables you can -# include /usr/share/cdbs/1/rules/buildvars.mk -# and use what is set there. Any hint whether dh might set variables in -# a similar manner are welcome. %: dh $@ --with autoreconf override_dh_installexamples: + make -C test clean dh_installexamples sed -i -e '/^TOPPREDDATA/d' \ -e 's?../src/toppred?/usr/bin/toppred?' \ + -e 's?$$srcdir/??g' \ debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/test/*.test #get-orig-source: diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test index 7473be8..09cd18e 100644 --- a/debian/tests/run-unit-test +++ b/debian/tests/run-unit-test @@ -6,5 +6,11 @@ if [ "$ADTTMP" = "" ] ; then fi cd $ADTTMP -cp -r /usr/lib/python2.7/dist-packages/screed/* . -nosetests . +cp -a /usr/share/doc/toppred/examples/* . +find . -name "*.gz" -exec gunzip \{\} \; +cd test + +for tscript in *.test ; do + $tscript +done + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/toppred.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
