[med-svn] [python-cobra] 05/06: d/tests/Makefile: update test script to accomodate return code change
Afif Elghraoui
afif at moszumanska.debian.org
Tue Nov 29 11:47:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository python-cobra.
commit 1ec0fba3fea202b38044e3497edf033ef94a31e3
Author: Afif Elghraoui <afif at debian.org>
Date: Tue Nov 29 03:11:33 2016 -0800
d/tests/Makefile: update test script to accomodate return code change
---
debian/tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/tests/Makefile b/debian/tests/Makefile
index 8e2759a..950f92f 100644
--- a/debian/tests/Makefile
+++ b/debian/tests/Makefile
@@ -10,4 +10,4 @@ py3-test: SHELL=python3
import sys
from cobra.test import test_all
- sys.exit(test_all())
+ sys.exit(0) if test_all() else sys.exit(1)
--
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