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

afif-guest pushed a commit to branch master
in repository python-cobra.

commit 0f4a3a35d681241c1b74105bfd3a55569e72fa33
Author: Afif Elghraoui <a...@ghraoui.name>
Date:   Fri Aug 28 21:58:33 2015 -0700

    Adjust autopkgtest commands
    
    Use the returned status as an exit code to tell whether or not
    the tests passed. My patch as applied upstream did not include
    the exit command, so it's being added here.
---
 debian/tests/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index d61afd9..37164ef 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,7 @@
-Test-Command: python -c "from cobra.test import test_all; test_all()"
+Test-Command: python -c "from sys import exit; from cobra.test import 
test_all; exit(test_all())"
 Depends: python-cobra, python-cobra-data
 Restrictions: allow-stderr, needs-recommends
 
-Test-Command: python3 -c "from cobra.test import test_all; test_all()"
+Test-Command: python3 -c "from sys import exit; from cobra.test import 
test_all; exit(test_all())"
 Depends: python3-cobra, python-cobra-data
 Restrictions: allow-stderr, needs-recommends

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

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to