DirectXShaderCompiler/utils/lit
Greg Roth 4d132f95ff
[lit] allow for spaces in taef commands (#5720)
The way taef tests were gathered and executed previously flattened the
list of arguments to a string. This allowed the weird /select: flag to
work correctly, but if any of the arguments had spaces, they were
misinterpretted having lost the implicit quotes around each.

By removing the flattening, putting a space between the flag and the
argument for /select: and removing the explicit quotes around that
argument, the command executes properly whether there are spaces or not

Additionally added a way to detect when these commands failed since they
were silently failing and skipping a large swath of testing when spaces
were present.

Fixes #5719
2023-09-18 19:58:04 +00:00
..
examples Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00
lit [lit] allow for spaces in taef commands (#5720) 2023-09-18 19:58:04 +00:00
tests [lit] Port Support %if ... %else syntax for RUN lines from upstream (#5227) 2023-05-26 14:10:34 -07:00
utils Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00
MANIFEST.in Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00
README.txt Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00
TODO Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00
lit.py Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00
setup.py Restore LLVM Testing Infrastructure (#4012) 2021-10-19 15:24:11 -05:00

README.txt

===============================
 lit - A Software Testing Tool
===============================

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.