Loading debian/rules +13 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading @@ -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 ; Loading
debian/rules +13 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading @@ -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 ;