summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-01-27 10:22:01 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-01-27 10:22:01 +0100
commitf886ffd67396c2a512bfd71dc62e8bbc72f1ef8b (patch)
tree95abab5c277a67cc7070808e25b55d40c3a0076e
parent937bcec1ed1bd379c226aea5eb8ce5ec95264703 (diff)
export dataref entries with deterministic order
-rwxr-xr-xbin/analyze-archive.py2
-rwxr-xr-xbin/analyze-kconfig.py2
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: