Skip to content

Commit

Permalink
Fix ctest_parser.py to work on the adapters branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kbenzie committed Nov 7, 2023
1 parent a1fbbde commit 42b5f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ctest_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 42b5f7f

Please sign in to comment.