[llvm-commits] [LNT] r155712 - in /lnt/trunk/lnt/server: reporting/summaryreport.py ui/templates/v4_summary_report.html

Daniel Dunbar daniel at zuster.org
Fri Apr 27 09:06:13 PDT 2012


Author: ddunbar
Date: Fri Apr 27 11:06:13 2012
New Revision: 155712

URL: http://llvm.org/viewvc/llvm-project?rev=155712&view=rev
Log:
[Summary Report] Change config to also include a name for each "report order" --
it is easier to read the report when we can associate release names instead of
decoding tags or revisions.

Modified:
    lnt/trunk/lnt/server/reporting/summaryreport.py
    lnt/trunk/lnt/server/ui/templates/v4_summary_report.html

Modified: lnt/trunk/lnt/server/reporting/summaryreport.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/reporting/summaryreport.py?rev=155712&r1=155711&r2=155712&view=diff
==============================================================================
--- lnt/trunk/lnt/server/reporting/summaryreport.py (original)
+++ lnt/trunk/lnt/server/reporting/summaryreport.py Fri Apr 27 11:06:13 2012
@@ -87,7 +87,8 @@
                  machines_to_merge):
         self.db = db
         self.testsuites = list(db.testsuite.values())
-        self.report_orders = list(report_orders)
+        self.report_orders = list((name,orders)
+                                  for name,orders in report_orders)
         self.report_machine_patterns = list(report_machine_patterns)
         self.report_machine_rexes = [
             re.compile(pattern)
@@ -118,7 +119,7 @@
         # First, collect all the runs to summarize on, for each index in the
         # report orders.
         self.runs_at_index = []
-        for orders in self.report_orders:
+        for _,orders in self.report_orders:
             # For each test suite...
             runs = []
             for ts in self.testsuites:

Modified: lnt/trunk/lnt/server/ui/templates/v4_summary_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_summary_report.html?rev=155712&r1=155711&r2=155712&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_summary_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_summary_report.html Fri Apr 27 11:06:13 2012
@@ -200,7 +200,7 @@
     <tr>
       <th>Name</th><th>Arch</th>
       {% for order in report.report_orders %}
-      <th>{{order}}</th>
+      <th>{{order[0]}}</th>
       {% endfor %}
     </tr>
   </thead>





More information about the llvm-commits mailing list