[llvm-commits] [zorg] r105570 - /zorg/trunk/lnt/lnt/viewer/simple.ptl
Daniel Dunbar
daniel at zuster.org
Mon Jun 7 16:00:38 PDT 2010
Author: ddunbar
Date: Mon Jun 7 18:00:37 2010
New Revision: 105570
URL: http://llvm.org/viewvc/llvm-project?rev=105570&view=rev
Log:
LNT/simple: Add run order to submission view.
Modified:
zorg/trunk/lnt/lnt/viewer/simple.ptl
Modified: zorg/trunk/lnt/lnt/viewer/simple.ptl
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/viewer/simple.ptl?rev=105570&r1=105569&r2=105570&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/viewer/simple.ptl (original)
+++ zorg/trunk/lnt/lnt/viewer/simple.ptl Mon Jun 7 18:00:37 2010
@@ -833,6 +833,7 @@
<table class="sortable" border=1>
<thead>
<tr>
+ <th>Run Order</th>
<th>Start Time</th>
<th>End Time</th>
<th>Machine</th>
@@ -844,10 +845,8 @@
# Show the 20 most recent submissions, ordered by time.
for r in db.session.query(Run).order_by(Run.start_time.desc())[:20]:
# Limit by matching tags.
- if 'tag' in r.info:
- tag = r.info['tag'].value
- else:
- tag = None
+ if 'tag' not in r.info or 'run_order' not in r.info:
+ continue
if tag not in self.getTags():
continue
@@ -856,10 +855,12 @@
<tr>
<td>%s</td>
<td>%s</td>
+ <td>%s</td>
<td align=left><a href="machines/%d/">%s:%d</a></td>
<td><a href="%d/">View Results</a></td>
</tr>
- """ % (r.start_time, r.end_time, m.id, m.name, m.number, r.id)
+ """ % (r.info['run_order'].value, r.start_time, r.end_time, m.id,
+ m.name, m.number, r.id)
"""
</table>
More information about the llvm-commits
mailing list