[llvm-commits] [zorg] r146697 - /zorg/trunk/lnt/lnt/lnttool/__init__.py

Daniel Dunbar daniel at zuster.org
Thu Dec 15 14:55:22 PST 2011


Author: ddunbar
Date: Thu Dec 15 16:55:22 2011
New Revision: 146697

URL: http://llvm.org/viewvc/llvm-project?rev=146697&view=rev
Log:
lnt report: Tweak status output to make it clear(er) we are only taking the most
recent of the selected runs.

Modified:
    zorg/trunk/lnt/lnt/lnttool/__init__.py

Modified: zorg/trunk/lnt/lnt/lnttool/__init__.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/lnttool/__init__.py?rev=146697&r1=146696&r2=146697&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/lnttool/__init__.py (original)
+++ zorg/trunk/lnt/lnt/lnttool/__init__.py Thu Dec 15 16:55:22 2011
@@ -301,8 +301,16 @@
                     opts.optflags, ", ".join(sorted(available_flags))))
         matching_runs = selected
 
+    # Inform the user of the final list of selected runs.
+    note("selection arguments resulted in %d runs" % (len(matching_runs),))
+    for run in matching_runs:
+        note("Run: % 5d, Start Time: %s, Machine: %s:%d" % (
+            run.id, run.start_time.strftime('%Y-%m-%d %H:%M:%S'),
+            run.machine.name, run.machine.number))
+
     # Take only the first matched run, for now. This will be the latest, by the
     # original ordering clause.
+    note("selecting newest run for reporting...")
     matching_runs = [matching_runs[0]]
 
     # Inform the user of the final list of selected runs.





More information about the llvm-commits mailing list