mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
run-tests: return a success error code when tests are skipped
Summary: As run-tests.py will be used with testpilot and at diff time, we do not want to fail a run when all the tests were simply skipped. Let's make that a success instead. Reviewed By: quark-zju Differential Revision: D16364297 fbshipit-source-id: ef8e912ddde91bd5be52784fceaf012857841eea
This commit is contained in:
parent
0720c26f71
commit
f9b4c4917a
@ -3454,7 +3454,7 @@ class TestRunner(object):
|
||||
if failed:
|
||||
return 1
|
||||
elif allskipped:
|
||||
return Test.SKIPPED_STATUS
|
||||
return 0
|
||||
elif errored:
|
||||
return 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user