[llvm] r236462 - Document some of the options in test/lit.cfg
Matthias Braun
matze at braunis.de
Mon May 4 14:37:01 PDT 2015
Author: matze
Date: Mon May 4 16:37:00 2015
New Revision: 236462
URL: http://llvm.org/viewvc/llvm-project?rev=236462&view=rev
Log:
Document some of the options in test/lit.cfg
Modified:
llvm/trunk/docs/TestingGuide.rst
Modified: llvm/trunk/docs/TestingGuide.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.rst?rev=236462&r1=236461&r2=236462&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.rst (original)
+++ llvm/trunk/docs/TestingGuide.rst Mon May 4 16:37:00 2015
@@ -473,6 +473,25 @@ RUN lines:
To add more substituations, look at ``test/lit.cfg`` or ``lit.local.cfg``.
+Options
+-------
+
+The llvm lit configuration allows to customize some things with user options:
+
+``llc``, ``opt``, ...
+ Substitute the respective llvm tool name with a custom command line. This
+ allows to specify custom paths and default arguments for these tools.
+ Example:
+
+ % llvm-lit "-Dllc=llc -verify-machineinstrs"
+
+``run_long_tests``
+ Enable the execution of long running tests.
+
+``llvm_site_config``
+ Load the specified lit configuration instead of the default one.
+
+
Other Features
--------------
More information about the llvm-commits
mailing list