[LNT] r262974 - Enhance help strings for parallel build options

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 16:40:09 PST 2016


Author: cmatthews
Date: Tue Mar  8 18:40:09 2016
New Revision: 262974

URL: http://llvm.org/viewvc/llvm-project?rev=262974&view=rev
Log:
Enhance help strings for parallel build options

It was not clear to me how these options worked together until I read
the code.  This updates the help messages to hopefully make that
explicit.

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=262974&r1=262973&r2=262974&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/test_suite.py (original)
+++ lnt/trunk/lnt/tests/test_suite.py Tue Mar  8 18:40:09 2016
@@ -109,11 +109,11 @@ class TestSuiteTest(BuiltinTest):
 
         group = OptionGroup(parser, "Test Execution")
         group.add_option("-j", "--threads", dest="threads",
-                         help="Number of testing threads",
-                         type=int, default=1, metavar="N")
+                         help="Number of testing (and optionally build) "
+                         "threads", type=int, default=1, metavar="N")
         group.add_option("", "--build-threads", dest="build_threads",
-                         help="Number of compilation threads",
-                         type=int, default=0, metavar="N")
+                         help="Number of compilation threads, defaults to "
+                         "--threads", type=int, default=0, metavar="N")
         group.add_option("", "--use-perf", dest="use_perf",
                          help=("Use perf to obtain high accuracy timing"
                                "[%default]"),




More information about the llvm-commits mailing list