diff options
author | Matthias Braun <matze@braunis.de> | 2015-05-04 21:37:00 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-05-04 21:37:00 +0000 |
commit | 458a265e307c686b22a71719f5e1b5e5345245d8 (patch) | |
tree | aecb0fc976157f6d9d416a7bb7544c730754b6c9 /docs/TestingGuide.rst | |
parent | cccd128a8ad236e642a32c5aaeaef3ce318a9326 (diff) |
Document some of the options in test/lit.cfg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TestingGuide.rst')
-rw-r--r-- | docs/TestingGuide.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/TestingGuide.rst b/docs/TestingGuide.rst index 3463156495a..adf5f3d4cfb 100644 --- a/docs/TestingGuide.rst +++ b/docs/TestingGuide.rst @@ -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 -------------- |