Liubov Chuprikova pushed to branch master at Debian Med / primer3
Commits: 26d7d5fe by Liubov Chuprikova at 2018-05-29T12:55:22+02:00 Skip one more test, missed earlier - - - - - 1 changed file: - debian/rules Changes: ===================================== debian/rules ===================================== --- a/debian/rules +++ b/debian/rules @@ -8,9 +8,11 @@ sampledir:=$(CURDIR)/debian/$(DEB_SOURCE)-examples/usr/share/doc/$(DEB_SOURCE)/e BUILDARCH:=$(shell dpkg-architecture -q DEB_BUILD_ARCH_ENDIAN) -FAILED_TESTS:='primer_masker' \ +P3CORE_FAILED_TESTS:='primer_masker' \ 'primer_masker_formatted' +FAILED_TESTS:=testmasker + %: dh $@ --sourcedirectory=src @@ -20,14 +22,18 @@ override_dh_auto_build: override_dh_auto_test: ifneq ($(BUILDARCH),little) cp -a test/p3test.pl test/p3test.pl~ + cp -a test/Makefile test/Makefile~ # exclude tests known to fail on big endian # See README.source for further explanation. - for tst in $(FAILED_TESTS) ; do sed -i "/$${tst}/d" test/p3test.pl ; done + for tst in $(P3CORE_FAILED_TESTS) ; do sed -i "/$${tst}/d" test/p3test.pl ; done + sed -i "0,/$(FAILED_TESTS)/s///" test/Makefile + sed -i "/$(FAILED_TESTS)/,/endif/d" test/Makefile endif dh_auto_test --sourcedirectory=test ifneq ($(BUILDARCH),little) # restore original test file mv test/p3test.pl~ test/p3test.pl + mv test/Makefile~ test/Makefile endif dh clean --sourcedirectory=test @@ -36,9 +42,13 @@ override_dh_installexamples: dh_installexamples mkdir -p $(sampledir)/test; mkdir -p $(sampledir)/src; + mkdir -p $(sampledir)/settings_files; + mkdir -p $(sampledir)/kmer_lists; cp -aR ./test/* $(sampledir)/test; cp -aR ./src/humrep_and_simple.txt $(sampledir)/src; - cp -a settings_files/primer*.txt $(sampledir)/; + cp -a settings_files/primer*.txt $(sampledir)/settings_files; + cp -aR ./kmer_lists/*.list $(sampledir)/kmer_lists; + chmod -x $(sampledir)/test/thal*; sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' $(sampledir)/test/long_seq_tm_test.pl ; sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' $(sampledir)/test/vgrep.pl ; View it on GitLab: https://salsa.debian.org/med-team/primer3/commit/26d7d5fe8caa561de98e0f59a1dd5ae0ecabd7fa -- View it on GitLab: https://salsa.debian.org/med-team/primer3/commit/26d7d5fe8caa561de98e0f59a1dd5ae0ecabd7fa You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list debian-med-com...@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit