From 6e466f419a9981fc4b8e2649f050d9548afe8675 Mon Sep 17 00:00:00 2001 From: Pavel Chekin Date: Tue, 17 Dec 2024 15:02:24 -0800 Subject: [PATCH] Fix TEST_UNSKIP in pass_rate (#3030) Do not require `TEST_UNSKIP` in `pass_rate.py`, assume it is false by default. Fixes #3029. --- scripts/pass_rate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pass_rate.py b/scripts/pass_rate.py index f0bebc5394..46b3bffb59 100644 --- a/scripts/pass_rate.py +++ b/scripts/pass_rate.py @@ -103,7 +103,7 @@ def parse_report(report_path: pathlib.Path, skiplist_dir: pathlib.Path) -> Repor pass stats.fixme += len(testsuite_fixme_tests) - test_unskip = os.getenv('TEST_UNSKIP') + test_unskip = os.getenv('TEST_UNSKIP', 'false') if test_unskip not in ('true', 'false'): raise ValueError('Error: please set TEST_UNSKIP true or false') if test_unskip == 'false':