Name Date Size #Lines LOC

..08-May-2022-

examples/H08-May-2022-4733

lit/H08-May-2022-6,8275,046

tests/H08-May-2022-5,0732,150

utils/H08-May-2022-10063

CMakeLists.txtH A D08-May-20221.4 KiB3329

LICENSE.TXTH A D08-May-202214.8 KiB280229

MANIFEST.inH A D08-May-2022242 1110

README.txtH A D08-May-20221.3 KiB4228

lit.pyH A D08-May-202289 73

setup.pyH A D08-May-20221.9 KiB7956

README.txt

1===============================
2 lit - A Software Testing Tool
3===============================
4
5lit is a portable tool for executing LLVM and Clang style test suites,
6summarizing their results, and providing indication of failures. lit is designed
7to be a lightweight testing tool with as simple a user interface as possible.
8
9=====================
10 Contributing to lit
11=====================
12
13Please browse the Test Suite > lit category in LLVM's Bugzilla for ideas on
14what to work on.
15
16Before submitting patches, run the test suite to ensure nothing has regressed:
17
18    # From within your LLVM source directory.
19    utils/lit/lit.py \
20        --path /path/to/your/llvm/build/bin \
21        utils/lit/tests
22
23Note that lit's tests depend on 'not' and 'FileCheck', LLVM utilities.
24You will need to have built LLVM tools in order to run lit's test suite
25successfully.
26
27You'll also want to confirm that lit continues to work when testing LLVM.
28Follow the instructions in http://llvm.org/docs/TestingGuide.html to run the
29regression test suite:
30
31    make check-llvm
32
33And be sure to run the llvm-lit wrapper script as well:
34
35    /path/to/your/llvm/build/bin/llvm-lit utils/lit/tests
36
37Finally, make sure lit works when installed via setuptools:
38
39    python utils/lit/setup.py install
40    lit --path /path/to/your/llvm/build/bin utils/lit/tests
41
42