1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/utils/lit/tests
Joel E. Denny f5a15f4aa3 [lit] Report line number for failed RUN command
(Relands r330755 (reverted in r330848) with fix for PR37239.)

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: 333584
2018-05-30 19:42:27 +00:00
..
Inputs [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
unit [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
.coveragerc
boolean-parsing.py
discovery.py
googletest-format.py
googletest-timeout.py
googletest-upstream-format.py
lit.cfg [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
lit.site.cfg.in
max-failures.py [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
progress-bar.py
selecting.py
shell-parsing.py
shtest-encoding.py
shtest-format.py [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
shtest-output-printing.py [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
shtest-run-at-line.py [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
shtest-shell.py [lit] Report line number for failed RUN command 2018-05-30 19:42:27 +00:00
shtest-timeout.py [lit] Try to make shtest-timeout.py test more reliable by using a 2018-05-22 15:06:29 +00:00
shtest-xunit-output.py Use quoteattr to ensure we make well formed attributes 2018-05-25 00:31:36 +00:00
test-data-micro.py
test-data.py
test-output-micro.py
test-output.py [LIT] Move xunit tests tests into their own location, and and add failures 2018-05-10 22:51:28 +00:00
unittest-adaptor.py
usage.py
xunit-output.py Use quoteattr to ensure we make well formed attributes 2018-05-25 00:31:36 +00:00