mirror of
https://github.com/facebook/sapling.git
synced 2024-12-27 15:13:37 +03:00
run-tests.py: exit 80 on skip
Summary: This allows unittestify to properly report skipped tests. Reviewed By: quark-zju Differential Revision: D19663298 fbshipit-source-id: a95d28731fbf324a6f772e9d0b1dd84f2d5968d6
This commit is contained in:
parent
af1d91abf0
commit
9643c72d6e
@ -90,7 +90,10 @@ def require(features):
|
||||
if result["missing"]:
|
||||
sys.exit(2)
|
||||
|
||||
if result["skipped"] or result["error"]:
|
||||
if result["skipped"]:
|
||||
sys.exit(80)
|
||||
|
||||
if result["error"]:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user