Skip to content

tlively/FileCheck.py

 
 

Repository files navigation

FileCheck.py

Attempt to reimplement LLVM's FileCheck using Python.

Background

We know at least two software projects that would benefit from a suite of LLVM LIT integration tests:

  1. Mull

  2. Doorstop

The problem is that you have to build FileCheck from LLVM sources which is not a trivial task for 1) people who are not familiar with the LLVM infrastructure and 2) Python-based projects that would prefer to not have to build anything from LLVM sources in their CI process.

The option of having pre-compiled binaries is a workaround, but we don't like to keep third-party binary artifacts in source code, (see doorstop-dev/doorstop#431 (comment)).

Documentation

Documentation is hosted on Read the Docs:

FileCheck.py documentation.

Copyright

Copyright (c) 2020 Stanislav Pankevich [email protected]. See LICENSE for details.

About

Attempt to reimplement LLVM's FileCheck using Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.7%
  • Shell 1.3%
  • C 1.0%