[LNT] r267825 - tests/test_suite: Do not hide commandlines

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 17:26:16 PDT 2016


Author: matze
Date: Wed Apr 27 19:26:16 2016
New Revision: 267825

URL: http://llvm.org/viewvc/llvm-project?rev=267825&view=rev
Log:
tests/test_suite: Do not hide commandlines

Remove the verbose mode. It was hiding the interesting information of
how cmake and lit were invoked (while we had no problem spamming the
user with the full make and lit outputs).

Differential Revision: http://reviews.llvm.org/D19616

Modified:
    lnt/trunk/lnt/tests/test_suite.py

Modified: lnt/trunk/lnt/tests/test_suite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/test_suite.py?rev=267825&r1=267824&r2=267825&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/test_suite.py (original)
+++ lnt/trunk/lnt/tests/test_suite.py Wed Apr 27 19:26:16 2016
@@ -190,9 +190,6 @@ class TestSuiteTest(BuiltinTest):
                          help=("whether the autosubmit result should be committed "
                                "[%default]"),
                          type=int, default=True)
-        group.add_option("-v", "--verbose", dest="verbose",
-                         help="show verbose test results",
-                         action="store_true", default=False)
         group.add_option("", "--succinct-compile-output",
                          help="run Make without VERBOSE=1",
                          action="store_true", dest="succinct")
@@ -408,10 +405,9 @@ class TestSuiteTest(BuiltinTest):
         return self.opts.threads
 
     def _check_call(self, *args, **kwargs):
-        if self.opts.verbose:
-            note('Execute: %s' % ' '.join(args[0]))
-            if 'cwd' in kwargs:
-                note('          (In %s)' % kwargs['cwd'])
+        note('Execute: %s' % ' '.join(args[0]))
+        if 'cwd' in kwargs:
+            note('          (In %s)' % kwargs['cwd'])
         return subprocess.check_call(*args, **kwargs)
     
     def _clean(self, path):




More information about the llvm-commits mailing list