From 9643c72d6e84c2738de5dfa6e263dd771887946b Mon Sep 17 00:00:00 2001 From: Xavier Deguillard Date: Fri, 31 Jan 2020 10:10:12 -0800 Subject: [PATCH] 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 --- eden/scm/tests/hghave.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eden/scm/tests/hghave.py b/eden/scm/tests/hghave.py index 18d3893d83..69a53c1b3e 100644 --- a/eden/scm/tests/hghave.py +++ b/eden/scm/tests/hghave.py @@ -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)