diff options
author | Andre Heinecke <[email protected]> | 2017-03-30 14:22:20 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-03-30 14:22:20 +0000 |
commit | f8a9ecc6290ebd73fa36647cdfca285fe4d94a62 (patch) | |
tree | 74ad546d9f5e481dcaf85fe03d7b4c7a0a8af219 | |
parent | python: Fix skipping tests if running with GnuPG < 2.1.12. (diff) | |
download | gpgme-f8a9ecc6290ebd73fa36647cdfca285fe4d94a62.tar.gz gpgme-f8a9ecc6290ebd73fa36647cdfca285fe4d94a62.zip |
python: Don't treat skipped tests as error
* lang/python/tests/run-tests.py (failed): Don't count skipped tests
for the return code.
-rw-r--r-- | lang/python/tests/run-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/run-tests.py b/lang/python/tests/run-tests.py index c4af5266..9e061d83 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]) |