diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-04-09 10:22:49 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-04-09 10:22:49 +0200 |
commit | c4b7705089d6c2d01f743c2e93087a6a44025e6a (patch) | |
tree | 40989e148a8e055add175b388e16a200a43ed302 /resources/tools | |
parent | f890c0cbdee1b0da6e15cc1a9c2b14a423aa2b83 (diff) |
fix(perpatch): Sort comparison output by test name
Change-Id: Id68a4e2b7514b9cf2e1f2f30b78dc0cd696a673a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/integrated/compare_perpatch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/integrated/compare_perpatch.py b/resources/tools/integrated/compare_perpatch.py index 3821054849..59ea7e5d0f 100644 --- a/resources/tools/integrated/compare_perpatch.py +++ b/resources/tools/integrated/compare_perpatch.py @@ -56,7 +56,7 @@ def main() -> int: parent_results = {} current_results = {} parent_results = parse(f"csit_parent/{iteration}", fake_value=2.0) - parent_names = set(parent_results.keys()) + parent_names = list(parent_results) if test_names is None: test_names = parent_names if not parent_names: @@ -64,7 +64,7 @@ def main() -> int: break assert parent_names == test_names, f"{parent_names} != {test_names}" current_results = parse(f"csit_current/{iteration}", fake_value=1.0) - current_names = set(current_results.keys()) + current_names = list(current_results) assert ( current_names == parent_names ), f"{current_names} != {parent_names}" |