[Pkg-gnupg-commit] [gpgme] 09/103: python: Don't treat skipped tests as error
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Dec 14 18:52:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit f8a9ecc6290ebd73fa36647cdfca285fe4d94a62
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Mar 30 16:22:20 2017 +0200
python: Don't treat skipped tests as error
* lang/python/tests/run-tests.py (failed): Don't count skipped tests
for the return code.
---
lang/python/tests/run-tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/python/tests/run-tests.py b/lang/python/tests/run-tests.py
index c4af526..9e061d8 100644
--- a/lang/python/tests/run-tests.py
+++ b/lang/python/tests/run-tests.py
@@ -102,5 +102,5 @@ def failed():
if not args.quiet:
print("{0} tests run, {1} succeeded, {2} failed, {3} skipped.".format(
len(results), count(0), failed(), count(77)))
- sys.exit(len(results) - count(0))
+ sys.exit(len(results) - count(0) - count(77))
sys.exit(results[0])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list