skillfed

llvm-testing-tools

LLVM Testing Tools

llvm-testing-tools v23.0.0 113.9K downloads/30d#12,322 on PyPI
License unclear Apache-2.0 WITH LLVM-exception Active released

What it is and what it does

llvm-testing-tools packages LLVM's FileCheck utility and split-file tool as a PyPI-installable Python package. These are low-level testing utilities commonly used in LLVM and compiler infrastructure projects to validate test output and manage test files. The package aims to let runtime builds and other projects use these tools without needing to bootstrap a full LLVM build system.

The package has no runtime dependencies, making it lightweight to install. It supports Python 3.8 and later. With 113886 monthly downloads and a position in the top 15000 packages, it appears to serve a real need in the LLVM ecosystem and related projects that depend on these testing tools.

Use it for:

  • Validate compiler or interpreter test output using FileCheck pattern matching in CI/CD pipelines.
  • Split and organize test files in LLVM-based projects without requiring a full LLVM build.
  • Support testing infrastructure for language runtimes that depend on LLVM testing conventions.
  • Automate test file management in projects that use LLVM's testing patterns but not the full toolchain.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides LLVM testing utilities like FileCheck and split-file as standalone Python tools, enabling runtime builds to access these testing features without requiring a full LLVM bootstrap build.

Yes, if you need FileCheck or split-file for testing. The package has low install friction, no dependencies, active maintenance, and serves a clear purpose in the LLVM ecosystem. The only caveat is that license treatment is marked unclear—review the Apache-2.0 WITH LLVM-exception terms for your use case before committing to it in a restricted context.

Install

llvm-testing-tools on PyPI

pip

pip install llvm-testing-tools

uv

uv add llvm-testing-tools

poetry

poetry add llvm-testing-tools

Installing llvm-testing-tools

Before you install

Low install friction with no runtime dependencies. Active maintenance status and recent release. Requires Python 3.8 or later.

License in practice

Licensed under Apache-2.0 WITH LLVM-exception, a permissive license with LLVM-specific exception terms. License treatment is marked unclear in the metadata, so you may want to review the actual license text before use in proprietary or restricted contexts.

Quickstart

pip install llvm-testing-tools==23.0.0

from llvm_testing_tools import FileCheck
# Use FileCheck for pattern matching in test output

Requires Python 3.8 or later.

Verify before relying

  • Whether FileCheck and split-file are exposed as importable modules or only as command-line entry points.
  • What specific testing workflows or LLVM runtime builds this package is designed to support.
  • Whether the package includes documentation or examples for typical usage patterns.

Package facts

License Apache-2.0 WITH LLVM-exception (unclear)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 140 days since the last release
First released
Downloads 113,886/month — #12,322 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: llvm_testing_tools-23.0.0-py3-none-any.whl

Tags

llvm testing utilitiesfilecheck pythonsplit-file toolllvm test toolsruntime testing without bootstrapllvm testing infrastructurefilecheck command line
llvmtesting-toolscompiler-infrastructure

More Testing packages