This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository r8s.
commit 509704c4711c5870189cd72970603d5240be561f Author: Andreas Tille <[email protected]> Date: Wed Jun 24 14:52:50 2015 +0200 Add primitive build time test --- debian/changelog | 6 ++++++ debian/rules | 18 ++---------------- debian/test/MCPyV-related.txt | 29 +++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/debian/changelog b/debian/changelog index b911e56..d8a23ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +r8s (1.8+ds-0ubuntu2) UNRELEASED; urgency=medium + + * Add test + + -- Andreas Tille <[email protected]> Wed, 24 Jun 2015 14:52:33 +0200 + r8s (1.8+ds-0ubuntu1) trusty; urgency=low * Test upload to Debian Med PPA diff --git a/debian/rules b/debian/rules index 58ec00b..c83243c 100755 --- a/debian/rules +++ b/debian/rules @@ -2,22 +2,8 @@ # 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 $@ -#get-orig-source: -# . debian/get-orig-source +override_dh_auto_test: + if ./r8s -b -f debian/test/MCPyV-related.txt | grep -q -w "PASSED *$$" ; then echo "Test passed" ; else echo "TEST FAILED" && exit 1 ; fi diff --git a/debian/test/MCPyV-related.txt b/debian/test/MCPyV-related.txt new file mode 100644 index 0000000..2850cd6 --- /dev/null +++ b/debian/test/MCPyV-related.txt @@ -0,0 +1,29 @@ +#NEXUS + +Begin trees; +tree TREE1 = [&R] ((((1:0.003006062288969929,(2:0.01052376266313912,3:0.0):0.0):0.01498273611339456,(4:0.008054379846897233,(5:0.004474847983200217,6:0.0):0.005927998327474722):0.005948993113118836):0.1843243876616698,((7:0.0,((8:0.0,(9:0.001479470851766806,(10:0.0,(11:0.001479149417266432,(12:0.0,13:7.025013854695134E-5):0.001430838199428081):0.0):0.0):0.0):0.003363598151424513,(14:0.00149623846174116,15:0.0):0.001945457871336731):0.0):0.03222759734791594,((16:0.0011922968042716,(17:0.0 [...] +End; + +begin rates; + +blformat nsites=843 lengths=persite; + +collapse; + +mrca kh34 33 34 35 36 37 38 39 40 41 42 43; +mrca ppkh34 34 35 36 37 38 39 40 41 42 43; +mrca kh35 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32; +mrca ppkh35 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32; + +fixage taxon=kh34 age=5.6; + +set penalty=add smoothing=100; +[smoothing to be determined] + +divtime method=pl algorithm=tn; + +describe plot=chrono_description; + +showage shownamed=yes; + +end; \ No newline at end of file -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r8s.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
