python: Don't treat skipped tests as error
* lang/python/tests/run-tests.py (failed): Don't count skipped tests for the return code.
This commit is contained in:
parent
159505a288
commit
f8a9ecc629
@ -102,5 +102,5 @@ def failed():
|
|||||||
if not args.quiet:
|
if not args.quiet:
|
||||||
print("{0} tests run, {1} succeeded, {2} failed, {3} skipped.".format(
|
print("{0} tests run, {1} succeeded, {2} failed, {3} skipped.".format(
|
||||||
len(results), count(0), failed(), count(77)))
|
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])
|
sys.exit(results[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user