Description:
Portable tool for LLVM- and Clang-style test suites
|
|
Type: Formula
|
Latest Version: 18.1.8@0
|
Tracked Since: Oct 15, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
testing
llvm
clang
development
c++
|
|
Install:
brew install lit
|
About:
Lit is a portable command-line tool designed to run test suites for LLVM, Clang, and other related compiler projects. It serves as a test runner that discovers and executes test cases, checking their output against expected results. Its main value is providing a standardized way to manage and run complex test suites across different development environments.
|
Key Features:
- Test discovery and execution
- Flexible test parameterization and substitution
- Integration with build systems like CMake and Make
- Support for multiple test formats (e.g., 'RUN:' lines)
|
Use Cases:
- Running regression tests for compiler toolchains
- Validating code changes in large C++ projects
- Automating test execution in CI/CD pipelines
|
Alternatives:
-
pytest
– A general-purpose Python testing framework, whereas lit is specialized for compiler and toolchain testing.
-
gtest
– A C++ unit testing framework; lit is a test runner that can execute gtest binaries but is not a framework itself.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Oct 15, 2025 11:47am |
|
0 |
VERSION_BUMP |
1f65a1fb |
| Oct 22, 2024 12:14am |
|
0 |
VERSION_BUMP |
5604e61d |
| Aug 24, 2024 5:31am |
|
0 |
VERSION_BUMP |
dd9870b9 |
| Nov 28, 2023 8:33pm |
|
0 |
VERSION_BUMP |
c9dffc12 |
| Oct 4, 2023 1:29am |
|
0 |
VERSION_BUMP |
d7dd0789 |
| Sep 17, 2023 4:19pm |
|
0 |
VERSION_BUMP |
ab6ac664 |
| May 26, 2023 11:30am |
|
0 |
VERSION_BUMP |
e3a3b918 |
| May 6, 2023 12:45pm |
|
0 |
VERSION_BUMP |
07801ea1 |
| Apr 11, 2023 10:01am |
|
0 |
VERSION_BUMP |
a7ff6ac4 |
| Apr 11, 2023 9:04am |
|
0 |
VERSION_BUMP |
43c8f3ec |
| Mar 21, 2023 6:05am |
|
0 |
VERSION_BUMP |
7b5e3c65 |
| Mar 21, 2023 6:05am |
|
0 |
VERSION_BUMP |
feb38deb |
| Jan 17, 2023 6:04am |
|
0 |
VERSION_BUMP |
a01dcb5f |
| Jan 17, 2023 6:04am |
|
0 |
VERSION_BUMP |
b1f9fb94 |
|