[med-svn] [python-cobra] 04/06: Adjust autopkgtest commands
Afif Elghraoui
afif-guest at moszumanska.debian.org
Sat Aug 29 05:30:50 UTC 2015
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 <afif at 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
More information about the debian-med-commit
mailing list