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:
Xavier Deguillard 2020-01-31 10:10:12 -08:00 committed by Facebook Github Bot
parent af1d91abf0
commit 9643c72d6e

View File

@ -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)