filecheck
Attempt to reimplement LLVM's FileCheck using Python.
- Provided by: filecheck (Version: 0.0.24+dfsg-2build1)
- Report a bug
Attempt to reimplement LLVM's FileCheck using Python.
filecheck <check-file> [<options>]
Filecheck is a Python implementation for LLVM LIT integration tests integration tests. The package is useful to people who are not familiar with the LLVM infrastructure and Python-based projects that would prefer to not have to build anything from LLVM's source code in their CI process.
The following check file without--strict-whitespace.check:
CHECK: String1 String2 String3
will pass on any of the following inputs:
printf "String1 String2 String3" | filecheck without--strict-whitespace.check
printf "String1 String2 String3" | filecheck without--strict-whitespace.check
printf " String1String2String3 " | filecheck without--strict-whitespace.check
Adding --strict-whitespace disables this behavior.
The following check file without--match-full-lines.check:
CHECK: tring1
CHECK: ring2
CHECK: String3
will pass on the following input:
printf "String10tring20tring3" | filecheck without--match-full-lines.check
The --match-full-lines disables this behavior.
To report a bug please visit filecheck issues tracking system at: https://github.com/mull-project/FileCheck.py/issues
This manual page was written by Bo YU <tsu.yubo@gmail.com> for the Debian project (but may be used by others).