[llvm-commits] [zorg] r150759 - /zorg/trunk/lnt/lnt/server/reporting/runs.py
Daniel Dunbar
daniel at zuster.org
Thu Feb 16 14:55:09 PST 2012
Author: ddunbar
Date: Thu Feb 16 16:55:09 2012
New Revision: 150759
URL: http://llvm.org/viewvc/llvm-project?rev=150759&view=rev
Log:
[lnt] lnt.server.reporting.runs: Fix a possible non-determinism in the order of
run results.
Modified:
zorg/trunk/lnt/lnt/server/reporting/runs.py
Modified: zorg/trunk/lnt/lnt/server/reporting/runs.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/reporting/runs.py?rev=150759&r1=150758&r2=150759&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/reporting/runs.py (original)
+++ zorg/trunk/lnt/lnt/server/reporting/runs.py Thu Feb 16 16:55:09 2012
@@ -262,7 +262,7 @@
for field,field_results in test_results
for priority,(bucket_name, bucket,
show_perf) in enumerate(field_results)]
- prioritized.sort()
+ prioritized.sort(key = lambda item: (item[0], item[1].name))
for _,field,bucket_name,bucket,show_perf in prioritized:
_add_report_changes_detail_for_field_and_bucket(
More information about the llvm-commits
mailing list