This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository blat.
commit 105bfab31ed82ec12686f71dc41dd397651ca6e9 Author: Andreas Tille <[email protected]> Date: Wed Feb 26 14:15:02 2014 +0100 Run the test suite at build time --- debian/changelog | 2 +- debian/patches/avoid_external_tool_in_test.patch | 24 ++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 7 ++++++- 4 files changed, 32 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index df6fe42..273812a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,4 +7,4 @@ blat (35-1) UNRELEASED; urgency=low - run tests - write autopkgtest script - -- Andreas Tille <[email protected]> Thu, 20 Feb 2014 11:14:17 +0100 + -- Andreas Tille <[email protected]> Wed, 26 Feb 2014 13:52:17 +0100 diff --git a/debian/patches/avoid_external_tool_in_test.patch b/debian/patches/avoid_external_tool_in_test.patch new file mode 100644 index 0000000..0aef1ec --- /dev/null +++ b/debian/patches/avoid_external_tool_in_test.patch @@ -0,0 +1,24 @@ +Author: Andreas Tille <[email protected]> +Last_update: Wed, 26 Feb 2014 13:52:17 +0100 +Description: The tool pslCheck is not part of the BLAT source + If you really want to run this test fully you either need to obtain + the full jksrc source tree + http://hgdownload.cse.ucsc.edu/admin/jksrc.zip + and build pslCheck from there or you can download the binary (for instance + for amd64 architecture it is here: + http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/pslCheck + and run the test against this binary since creating it from source might + involve a lot of dependencies. + +--- a/blat/test/makefile ++++ b/blat/test/makefile +@@ -2,7 +2,8 @@ all: tThrowback tIntronMax + + tThrowback: + blat -verbose=0 throwback/target1.fa throwback/query1.fa throwback/test.psl +- pslCheck -verbose=0 throwback/test.psl ++ # pslCheck is not part of blat source - so we can not do this test ++ # pslCheck -verbose=0 throwback/test.psl + blat -verbose=0 v29skips/ex1_database.fa v29skips/ex1_query.fa v29skips/ex1.psl + diff v29skips/ex1_reference.psl v29skips/ex1.psl + blat -verbose=0 v29skips/ex2_database.fa v29skips/ex2_query.fa v29skips/ex2.psl diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a6f10a2 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +avoid_external_tool_in_test.patch diff --git a/debian/rules b/debian/rules index 21e83f4..bf88899 100755 --- a/debian/rules +++ b/debian/rules @@ -24,5 +24,10 @@ override_dh_auto_build: override_dh_auto_install: dh_auto_build -- MACHTYPE="$(MACHTYPE)" DESTDIR="$(DESTDIR)" BINDIR=bin/ - # cd debian/pslCheck; make MACHTYPE="$(MACHTYPE)" DESTDIR="$(DESTDIR)" BINDIR=bin/ + # Run the test suite after files are installed + cd blat/test; \ + PATH=$(DESTDIR)/bin:$${PATH} make +override_dh_auto_test: + echo "Test suite is running after dh_auto_install" + echo "Probably it would be better to create a proper install target" -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/blat.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
