[llvm-commits] [LNT] r156013 - /lnt/trunk/lnt/lnttool/import_data.py
Daniel Dunbar
daniel at zuster.org
Wed May 2 13:13:36 PDT 2012
Author: ddunbar
Date: Wed May 2 15:13:36 2012
New Revision: 156013
URL: http://llvm.org/viewvc/llvm-project?rev=156013&view=rev
Log:
lnt import: Add a --quiet option.
Modified:
lnt/trunk/lnt/lnttool/import_data.py
Modified: lnt/trunk/lnt/lnttool/import_data.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/import_data.py?rev=156013&r1=156012&r2=156013&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/import_data.py (original)
+++ lnt/trunk/lnt/lnttool/import_data.py Wed May 2 15:13:36 2012
@@ -29,6 +29,9 @@
parser.add_option("-v", "--verbose", dest="verbose",
help="show verbose test results",
action="store_true", default=False)
+ parser.add_option("-q", "--quiet", dest="quiet",
+ help="don't show test results",
+ action="store_true", default=False)
parser.add_option("", "--no-email", dest="no_email",
action="store_true", default=False)
parser.add_option("", "--no-report", dest="no_report",
@@ -56,6 +59,9 @@
opts.no_email, opts.no_report)
success &= result.get('success', False)
+ if opts.quiet:
+ continue
+
if opts.show_raw_result:
pprint.pprint(result)
else:
More information about the llvm-commits
mailing list