llvm-project/llvm/utils/lit/tests
Joel E. Denny 8a475307bd [lit] Report line number for failed RUN command
When debugging test failures with -vv (or -v in the case of the
internal shell), this makes it easier to locate the RUN line that
failed.  For example, clang's test/Driver/linux-ld.c has 892 total RUN
lines, and clang's test/Driver/arm-cortex-cpus.c has 424 RUN lines
after concatenation for line continuations.

When reading the generated shell script, this also makes it easier to
locate the RUN line that produced each command.

To support reporting RUN line numbers in the case of the internal
shell, this patch extends the internal shell to support the null
command, ":", except pipelines are not supported.

Reviewed By: asmith, delcypher

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

llvm-svn: 330755
2018-04-24 18:43:25 +00:00
..
Inputs [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
unit [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
.coveragerc
boolean-parsing.py Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
discovery.py [lit] Actually do normalize the case of files in the config map. 2017-09-21 21:27:11 +00:00
googletest-format.py [lit] Dump some FileCheck inputs to try to debug some failing tests 2017-07-28 16:24:18 +00:00
googletest-timeout.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
googletest-upstream-format.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
lit.cfg Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
lit.site.cfg.in Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
max-failures.py [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
progress-bar.py
selecting.py [lit] Un-XFAIL selecting.py test on Windows 2017-07-26 21:48:41 +00:00
shell-parsing.py
shtest-encoding.py
shtest-format.py [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
shtest-output-printing.py [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
shtest-run-at-line.py [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
shtest-shell.py [lit] Report line number for failed RUN command 2018-04-24 18:43:25 +00:00
shtest-timeout.py Revert "[lit] Temporarily disable shtest-timeout.py on darwin" 2018-03-28 13:55:13 +00:00
shtest-xunit-output.py [lit] Remove spurious `-` in invocation of lit in 2018-04-24 15:42:00 +00:00
test-data-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-data.py
test-output-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-output.py
unittest-adaptor.py Un-XFAIL some internal lit tests on Windows, they pass for me locally 2017-07-26 18:04:18 +00:00
usage.py [lit] Use argparse instead of optparse 2016-10-03 22:12:42 +00:00
xunit-output.py Losen time contraint to accommodate system loads 2018-02-28 20:05:24 +00:00