llvm-project/llvm/utils/lit/tests/Inputs/shtest-shell
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
..
cat-error-0.txt [lit] Implement 'cat' command for internal shell 2018-03-26 18:05:12 +00:00
cat-error-1.txt [lit] Implement 'cat' command for internal shell 2018-03-26 18:05:12 +00:00
cat_nonprinting.bin [lit] Implement 'cat' command for internal shell 2018-03-26 18:05:12 +00:00
check_args.py Revert "Revert "[lit] Generalized /dev/null support on Windows."" 2018-03-27 01:39:17 +00:00
check_path.py [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
colon-error.txt [lit] Report line number for failed RUN command 2018-05-31 00:55:32 +00:00
dev-null.txt Revert "Revert "[lit] Generalized /dev/null support on Windows."" 2018-03-27 01:39:17 +00:00
diff-error-0.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-error-1.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-error-2.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-error-3.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-error-4.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-error-5.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-error-6.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
diff-r-error-0.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r-error-1.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r-error-2.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r-error-3.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r-error-4.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r-error-5.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r-error-6.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
diff-r.txt [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
error-0.txt
error-1.txt
error-2.txt
lit.cfg [lit] Use a %{python} substitution to avoid relying on python being on PATH 2017-07-28 21:13:47 +00:00
mkdir-error-0.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
mkdir-error-1.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
mkdir-error-2.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
redirects.txt [lit] Use a %{python} substitution to avoid relying on python being on PATH 2017-07-28 21:13:47 +00:00
rm-error-0.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
rm-error-1.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
rm-error-2.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
rm-error-3.txt [lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally 2017-12-01 09:54:27 +00:00
sequencing-0.txt
sequencing-1.txt
valid-shell.txt [lit] Implement 'cat' command for internal shell 2018-03-26 18:05:12 +00:00
write-to-stderr.py
write-to-stdout-and-stderr.py