llvm-project/llvm/utils/lit/tests/Inputs
Joel E. Denny 31b373963f [lit] Report line number for failed RUN command
(Relands r333584, reverted in 333592.)

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.

To support reporting RUN line numbers in the case of windows cmd.exe
as the external shell, this patch extends -vv to set "echo on" instead
of "echo off" in bat files.  (Support for windows cmd.exe as a lit
external shell will likely be dropped later, but I found out too
late.)

Reviewed By: delcypher,	asmith, stella.stamenova, jmorse, lebedev.ri, rnk

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

llvm-svn: 333614
2018-05-31 00:55:32 +00:00
..
config-map-discovery [lit] Actually do normalize the case of files in the config map. 2017-09-21 21:27:11 +00:00
discovery
exec-discovery
exec-discovery-in-tree
googletest-format [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
googletest-timeout [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
googletest-upstream-format [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
max-failures [lit] Use a %{python} substitution to avoid relying on python being on PATH 2017-07-28 21:13:47 +00:00
progress-bar
py-config-discovery [lit] Make lit support config files with .py extension. 2017-09-21 00:24:52 +00:00
shtest-env [lit] support unsetting env variables (again!) 2017-08-18 17:32:57 +00:00
shtest-format lit::shtest-format.py: Make write-bad-encoding.py py3-aware. 2017-07-29 02:52:56 +00:00
shtest-output-printing
shtest-run-at-line [lit] Report line number for failed RUN command 2018-05-31 00:55:32 +00:00
shtest-shell [lit] Report line number for failed RUN command 2018-05-31 00:55:32 +00:00
shtest-timeout [lit] Try to make `shtest-timeout.py` test more reliable by using a 2018-05-22 15:06:29 +00:00
test-data [LIT] Move xunit tests tests into their own location, and and add failures 2018-05-10 22:51:28 +00:00
test-data-micro [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
testrunner-custom-parsers
unittest-adaptor
xunit-output Escape ]]> in xunit xml output 2018-05-16 09:00:28 +00:00