lit 18.1.8


pip install lit

  Latest version

Released: Jun 25, 2024

Project Links

Meta
Author: Daniel Dunbar

Classifiers

Development Status
  • 3 - Alpha

Environment
  • Console

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Natural Language
  • English

Operating System
  • OS Independent

Programming Language
  • Python

Topic
  • Software Development :: Testing

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 Jun 25, 2024
18.1.7 Jun 06, 2024
18.1.6 May 19, 2024
18.1.4 Apr 25, 2024
18.1.3 Apr 11, 2024
18.1.2 Mar 21, 2024
18.1.1 Mar 12, 2024
18.1.0rc4 Feb 29, 2024
18.1.0rc3 Feb 21, 2024
18.1.0rc2 Feb 07, 2024
18.1.0rc1 Feb 03, 2024
17.0.6 Nov 28, 2023
17.0.5 Nov 14, 2023
17.0.4 Oct 31, 2023
17.0.3 Oct 17, 2023
17.0.2 Oct 03, 2023
17.0.1 Sep 25, 2023
17.0.0rc4 Sep 05, 2023
17.0.0rc3 Aug 24, 2023
17.0.0rc2 Aug 08, 2023
17.0.0rc1 Jul 29, 2023
16.0.6 Jun 14, 2023
16.0.5.post0 Jun 02, 2023
16.0.5 May 17, 2023
16.0.4 May 18, 2023
16.0.3 May 06, 2023
16.0.2 Apr 24, 2023
16.0.1 Apr 10, 2023
16.0.0 Mar 20, 2023
16.0.0rc4 Mar 14, 2023
16.0.0rc3 Feb 22, 2023
16.0.0rc1 Feb 01, 2023
15.0.7 Jan 17, 2023
15.0.6 Dec 05, 2022
15.0.1 Sep 22, 2022
15.0.0.post0 Sep 06, 2022
15.0.0 Jun 27, 2022
14.0.6 Jun 27, 2022
14.0.3 May 19, 2022
14.0.0 Feb 04, 2022
13.0.1 Feb 02, 2022
13.0.0 Oct 06, 2021
13.0.0rc1 Aug 06, 2021
12.0.1 Jul 14, 2021
12.0.0 May 06, 2021
12.0.0rc1 Feb 03, 2021
0.11.1 Jan 06, 2021
0.11.1rc2 Jan 05, 2021
0.11.1rc1 Dec 02, 2020
0.11.0.post1 Oct 25, 2020
0.11.0 Oct 25, 2020
0.11.0rc1 Aug 08, 2020
0.10.1.post1 Jul 29, 2020
0.10.1 Jul 29, 2020
0.10.0 Apr 09, 2020
0.10.0rc1 Feb 11, 2020
0.9.0 Sep 20, 2019
0.9.0rc4 Sep 11, 2019
0.9.0rc2 Aug 07, 2019
0.9.0rc1 Aug 05, 2019
0.8.0 Mar 21, 2019
0.7.1 Dec 15, 2018
0.7.0 Sep 21, 2018
0.7.0rc1 Aug 10, 2018
0.6.0 Mar 20, 2018
0.6.0rc1 Jan 23, 2018
0.5.1 Oct 16, 2017
0.5.0 Jul 14, 2016
0.4.1 Oct 22, 2014
0.4.0 Oct 22, 2014
0.3.0 Mar 11, 2014
0.2.0 Nov 28, 2012
0.1.0 Sep 18, 2010

Wheel compatibility matrix

Platform Python 3
any

Files in release

No dependencies