[med-svn] [bedtools] 01/07: Random failure patch seems to be unneeded.

Andreas Tille tille at debian.org
Sat Feb 10 10:00:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository bedtools.

commit 251689c959f2f2e4deec60e9eb85215ee3a5acd9
Author: Andreas Tille <tille at debian.org>
Date:   Sat Feb 10 09:58:31 2018 +0100

    Random failure patch seems to be unneeded.
---
 .../do_not_let_random_failure_tests_fail.patch     | 68 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 69 deletions(-)

diff --git a/debian/patches/do_not_let_random_failure_tests_fail.patch b/debian/patches/do_not_let_random_failure_tests_fail.patch
deleted file mode 100644
index 3013aba..0000000
--- a/debian/patches/do_not_let_random_failure_tests_fail.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-Author: Andreas Tille <tille at debian.org>
-Last-Update: Sat, 14 Jan 2017 16:10:04 +0100
-Bug-Debian: https://bugs.debian.org/747337
-Description: Ignore failures in the split feature for the moment
-Remark: This patch is deactivated since the upstream test suite changed but
-        may be we need some reference to what tests needed exclusion and
-        thus it is left here for the moment
-
---- a/test/test.sh
-+++ b/test/test.sh
-@@ -67,8 +67,8 @@ cd subtract; bash test-subtract.sh; cd .
- echo " Testing bedtools sample:"
- cd sample; bash test-sample.sh; cd ..
- 
--echo " Testing bedtools split:"
--cd split; bash test-split.sh; cd ..
-+echo " Testing bedtools split: FIXME: This test is known to be broken and will be ignored by the Debian autopkgtest"
-+cd split; bash test-split.sh || true ; cd ..
- 
- echo " Testing bedtools spacing:"
- cd spacing; bash test-spacing.sh; cd ..
---- a/test/split/test-split.sh
-+++ b/test/split/test-split.sh
-@@ -10,6 +10,17 @@ check()
- 	fi
- }
- 
-+ignore_failure()
-+{
-+	if diff $1 $2; then
-+    	echo ok
-+		return 1
-+	else
-+    	echo failure will be ignored
-+		return 1
-+	fi
-+}
-+
- cat /dev/zero |tr "\0" "\n" | head -n 10000 |\
- awk '{S=int(rand()*1000.0);E=S+int(rand()*100000); printf("chrX\t%d\t%d\n",S,E);}' > tmp.bed
- 
-@@ -26,7 +37,7 @@ _tmp.00008.bed	9943487	200
- _tmp.00009.bed	9943539	200
- _tmp.00010.bed	9943531	200" > exp
- ${BT} split -i tmp.bed -p _tmp -n 50 -a size | head > _tmp.size.tsv
--check exp _tmp.size.tsv
-+ignore_failure exp _tmp.size.tsv
- 
- 
- echo "    split.02.simple...\c"
-@@ -42,7 +53,7 @@ _tmp.00008.bed	9781861	200
- _tmp.00009.bed	9502188	200
- _tmp.00010.bed	9991229	200" > exp
- ${BT} split -i tmp.bed -p _tmp -n 50 -a simple | head > _tmp.simple.tsv
--check exp _tmp.simple.tsv
-+ignore_failure exp _tmp.simple.tsv
- 
- echo "    spliit.03.simple...\c"
- rm -f _tmp.*.bed
-@@ -57,7 +68,7 @@ _tmp.00008.bed	555258	10
- _tmp.00009.bed	474511	10
- _tmp.00010.bed	633012	10" > exp
- ${BT} split -i tmp.bed -p _tmp -n 1000 -a simple | head > _tmp.simple.tsv
--check exp _tmp.simple.tsv
-+ignore_failure exp _tmp.simple.tsv
- 
- 
- 
diff --git a/debian/patches/series b/debian/patches/series
index 3a40b3d..84290f3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@ fix_test_script.patch
 remove_barski_binding_site.png.patch
 reproducible_build.patch
 v2.26.0-19-g6bf23c4.patch
-# do_not_let_random_failure_tests_fail.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bedtools.git



More information about the debian-med-commit mailing list