[med-svn] samtools 18/26: Modifies test.pl so that it exits with non-zero status if any tests fail.

Charles Plessy plessy at moszumanska.debian.org
Tue Dec 10 10:06:26 UTC 2013


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

plessy pushed a commit to branch debian/unstable
in repository samtools.

commit 6f27dcd2d00ee939cdbc285ad21e45aa1d17fa9a
Author: Joshua Randall <joshua.randall at sanger.ac.uk>
Date:   Wed Dec 4 03:07:44 2013 +0000

    Modifies test.pl so that it exits with non-zero status if any tests fail.
---
 test/test.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test.pl b/test/test.pl
index 003adcf..f3cd5b7 100755
--- a/test/test.pl
+++ b/test/test.pl
@@ -20,7 +20,7 @@ printf "    passed  .. %d\n", $$opts{nok};
 printf "    failed  .. %d\n", $$opts{nfailed};
 print "\n";
 
-exit;
+exit $$opts{nfailed};
 
 #--------------------
 

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



More information about the debian-med-commit mailing list