llvm-project/llvm/utils/lit/lit
George Karpenkov dfa6c20f4b [lit] add a -vv option to echo all executed commands.
Debugging LIT scripts can be rather painful, as LIT directly does not
specify which line has failed.
Rather, FileCheck is expected to report the failing location, but it can
be often ambiguous if multiple commands are tested against the same
prefix.  This change adds a -vv option, which echoes all output.
Then detecting the error becomes straightforward: last printed line is
the failing one.

Of course, it could be desired to try to get failing line number
directly from bash, but it involves excessive hacks on older bash
versions (cf.
https://stackoverflow.com/questions/24398691/how-to-get-the-real-line-number-of-a-failing-bash-command)

Differential Revision: https://reviews.llvm.org/D35330

llvm-svn: 307938
2017-07-13 19:26:27 +00:00
..
ExampleTests.ObjDir
formats [lit] Fix unit test discovery for Visual Studio builds. 2017-07-06 03:23:18 +00:00
BooleanExpression.py Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
LitConfig.py [lit] add a -vv option to echo all executed commands. 2017-07-13 19:26:27 +00:00
LitTestCase.py
ProgressBar.py
ShCommands.py Use the current working directory in the glob expansion 2017-03-31 12:46:39 +00:00
ShUtil.py Teach lit to expand glob expressions. 2017-03-03 18:55:24 +00:00
Test.py Revert "[lit] Clean output directories before running tests." 2017-06-30 16:05:03 +00:00
TestRunner.py [lit] add a -vv option to echo all executed commands. 2017-07-13 19:26:27 +00:00
TestingConfig.py [lit] Limit parallelism of sanitizer tests on Darwin [llvm part, take 2] 2017-01-20 00:24:32 +00:00
__init__.py Fix issue which cases lit installed with setup.py to not resolve main 2016-10-10 23:22:11 +00:00
discovery.py
main.py [lit] add a -vv option to echo all executed commands. 2017-07-13 19:26:27 +00:00
run.py Revert "[lit] Clean output directories before running tests." 2017-06-30 16:05:03 +00:00
util.py [lit] Factor out listdir logic shared by different test formats. 2017-06-30 21:58:55 +00:00