[Lldb-commits] [lldb] r372894 - [Docs] Document forwarding arguments with lit

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 25 09:14:26 PDT 2019


Author: jdevlieghere
Date: Wed Sep 25 09:14:26 2019
New Revision: 372894

URL: http://llvm.org/viewvc/llvm-project?rev=372894&view=rev
Log:
[Docs] Document forwarding arguments with lit

Explain how to forward arguments to dotest.py from lit.

Modified:
    lldb/trunk/docs/resources/test.rst

Modified: lldb/trunk/docs/resources/test.rst
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/resources/test.rst?rev=372894&r1=372893&r2=372894&view=diff
==============================================================================
--- lldb/trunk/docs/resources/test.rst (original)
+++ lldb/trunk/docs/resources/test.rst Wed Sep 25 09:14:26 2019
@@ -133,6 +133,14 @@ LIT can also filter based on test name.
    > ./bin/llvm-lit -sv tools/lldb/lit --filter CommandScriptImmediateOutput
 
 
+It is also possible to forward arguments to dotest.py by passing ``--param`` to
+lit and setting a value for ``dotest-args``.
+
+::
+
+   > ./bin/llvm-lit -sv tools/lldb/lit --param dotest-args='-C gcc'
+
+
 Running the Test Suite Remotely
 -------------------------------
 




More information about the lldb-commits mailing list