From 7fbbb43a5728ea5000fc851051369bd27330c4e6 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 22 May 2024 09:35:11 +0200 Subject: [PATCH] Pacify pylint Signed-off-by: Gilles Peskine --- tests/scripts/analyze_outcomes.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/scripts/analyze_outcomes.py b/tests/scripts/analyze_outcomes.py index 9c13d8c040..eb2469495e 100755 --- a/tests/scripts/analyze_outcomes.py +++ b/tests/scripts/analyze_outcomes.py @@ -90,10 +90,12 @@ def analyze_coverage(results: Results, outcomes: Outcomes, # checkout. cp = subprocess.run(['make', 'generated_files'], cwd='tests', - stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + check=False) if cp.returncode != 0: sys.stderr.write(cp.stdout.decode('utf-8')) - results.error("Failed \"make generated_files\" in tests. Coverage analysis may be incorrect.") + results.error("Failed \"make generated_files\" in tests. " + "Coverage analysis may be incorrect.") available = check_test_cases.collect_available_test_cases() for suite_case in available: hit = any(suite_case in comp_outcomes.successes or