[LNT] r262217 - [test-suite] Improve help message for --cmake-define

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 04:53:35 PST 2016


Author: jamesm
Date: Mon Feb 29 06:53:33 2016
New Revision: 262217

URL: http://llvm.org/viewvc/llvm-project?rev=262217&view=rev
Log:
[test-suite] Improve help message for --cmake-define

This was suggested by Chris Matthews in a post-commit review of r261851.

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=262217&r1=262216&r2=262217&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/test_suite.py (original)
+++ lnt/trunk/lnt/tests/test_suite.py Mon Feb 29 06:53:33 2016
@@ -52,7 +52,9 @@ class TestSuiteTest(BuiltinTest):
                          help="Path to the LLVM test-suite externals")
         group.add_option("", "--cmake-define", dest="cmake_defines",
                          action="append",
-                         help="Defines to pass to cmake.")
+                         help=("Defines to pass to cmake. These do not require the "
+                               "-D prefix and can be given multiple times. e.g.: "
+                               "--cmake-define A=B => -DA=B"))
         parser.add_option_group(group)
                          
         group = OptionGroup(parser, "Test compiler")




More information about the llvm-commits mailing list