lit

A Software Testing Tool

Apache-2.0 with LLVM exception 73 个版本
Daniel Dunbar <daniel@minormatter.com>
安装
pip install lit
poetry add lit
pipenv install lit
conda install lit
描述

=============================== lit - A Software Testing Tool

About

lit is a portable tool for executing LLVM and Clang style test suites, summarizing their results, and providing indication of failures. lit is designed to be a lightweight testing tool with as simple a user interface as possible.

Features

  • Portable!
  • Flexible test discovery.
  • Parallel test execution.
  • Support for multiple test formats and test suite designs.

Documentation

The official lit documentation is in the man page, available online at the LLVM Command Guide: http://llvm.org/cmds/lit.html.

Source

The lit source is available as part of LLVM, in the LLVM source repository: https://github.com/llvm/llvm-project/tree/main/llvm/utils/lit

Contributing to lit

Please browse the issues labeled tools:llvm-lit in LLVM's issue tracker for ideas on what to work on: https://github.com/llvm/llvm-project/labels/tools%3Allvm-lit

Before submitting patches, run the test suite to ensure nothing has regressed::

# From within your LLVM source directory.
utils/lit/lit.py \
    --path /path/to/your/llvm/build/bin \
    utils/lit/tests

Note that lit's tests depend on not and FileCheck, LLVM utilities. You will need to have built LLVM tools in order to run lit's test suite successfully.

You'll also want to confirm that lit continues to work when testing LLVM. Follow the instructions in http://llvm.org/docs/TestingGuide.html to run the regression test suite:

make check-llvm

And be sure to run the llvm-lit wrapper script as well:

/path/to/your/llvm/build/bin/llvm-lit utils/lit/tests

Finally, make sure lit works when installed via setuptools:

python utils/lit/setup.py install
lit --path /path/to/your/llvm/build/bin utils/lit/tests
版本列表
18.1.8 2024-06-25
18.1.7 2024-06-06
18.1.6 2024-05-19
18.1.4 2024-04-25
18.1.3 2024-04-11
18.1.2 2024-03-21
18.1.1 2024-03-12
18.1.0rc4 2024-02-29
18.1.0rc3 2024-02-21
18.1.0rc2 2024-02-07
18.1.0rc1 2024-02-03
17.0.6 2023-11-28
17.0.5 2023-11-14
17.0.4 2023-10-31
17.0.3 2023-10-17
17.0.2 2023-10-03
17.0.1 2023-09-25
17.0.0rc4 2023-09-05
17.0.0rc3 2023-08-24
17.0.0rc2 2023-08-08
17.0.0rc1 2023-07-29
16.0.6 2023-06-14
16.0.5 2023-05-17
16.0.5.post0 2023-06-02
16.0.4 2023-05-18
16.0.3 2023-05-06
16.0.2 2023-04-24
16.0.1 2023-04-10
16.0.0 2023-03-20
16.0.0rc4 2023-03-14
16.0.0rc3 2023-02-22
16.0.0rc1 2023-02-01
15.0.7 2023-01-17
15.0.6 2022-12-05
15.0.1 2022-09-22
15.0.0 2022-06-27
15.0.0.post0 2022-09-06
14.0.6 2022-06-27
14.0.3 2022-05-19
14.0.0 2022-02-04
13.0.1 2022-02-02
13.0.0 2021-10-06
13.0.0rc1 2021-08-06
12.0.1 2021-07-14
12.0.0 2021-05-06
12.0.0rc1 2021-02-03
0.11.1 2021-01-06
0.11.0 2020-10-25
0.11.0.post1 2020-10-25
0.11.1rc2 2021-01-05
0.11.1rc1 2020-12-02
0.11.0rc1 2020-08-08
0.10.1 2020-07-29
0.10.1.post1 2020-07-29
0.10.0 2020-04-09
0.10.0rc1 2020-02-11
0.9.0 2019-09-20
0.9.0rc4 2019-09-11
0.9.0rc2 2019-08-07
0.9.0rc1 2019-08-05
0.8.0 2019-03-21
0.7.1 2018-12-15
0.7.0 2018-09-21
0.7.0rc1 2018-08-10
0.6.0 2018-03-20
0.6.0rc1 2018-01-23
0.5.1 2017-10-16
0.5.0 2016-07-14
0.4.1 2014-10-22
0.4.0 2014-10-22
0.3.0 2014-03-11
0.2.0 2012-11-28
0.1.0 2010-09-18