diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-01-27 10:22:01 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-01-27 10:22:01 +0100 |
commit | f886ffd67396c2a512bfd71dc62e8bbc72f1ef8b (patch) | |
tree | 95abab5c277a67cc7070808e25b55d40c3a0076e | |
parent | 937bcec1ed1bd379c226aea5eb8ce5ec95264703 (diff) |
export dataref entries with deterministic order
-rwxr-xr-x | bin/analyze-archive.py | 2 | ||||
-rwxr-xr-x | bin/analyze-kconfig.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 073db96..5cd7ef7 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -1069,7 +1069,7 @@ if __name__ == "__main__": dref["constructor duration"] = (constructor_duration, r"\second") dref["regression duration"] = (fit_duration, r"\second") with open(args.export_dref, "w") as f: - for k, v in dref.items(): + for k, v in sorted(dref.items()): if type(v) is not tuple: v = (v, None) if v[1] is None: diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index 61d3aa0..ceb97be 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -340,7 +340,7 @@ def main(): dref["constructor duration"] = (constructor_duration, r"\second") dref["regression duration"] = (fit_duration, r"\second") with open(args.export_dref, "w") as f: - for k, v in dref.items(): + for k, v in sorted(dref.items()): if type(v) is not tuple: v = (v, None) if v[1] is None: |