From 42b5f7fd5e762e729850e60b1fcf70d7e0e162c8 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 7 Nov 2023 12:52:59 +0000 Subject: [PATCH] Fix ctest_parser.py to work on the adapters branch --- scripts/ctest_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ctest_parser.py b/scripts/ctest_parser.py index f41ba5ea60..dcb3c93ceb 100644 --- a/scripts/ctest_parser.py +++ b/scripts/ctest_parser.py @@ -19,7 +19,7 @@ def get_cts_test_suite_names(working_directory): stdout=PIPE, env=os.environ.copy()) out,_ = process.communicate() testsuites = json.loads(out) - return [test['name']for test in testsuites['tests']] + return [ts['name'][:ts['name'].rfind('-')] for ts in testsuites] def percent(amount, total): return round((amount / total) * 100, 2)