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
Stella Stamenova 89cdfaa61e [lit, tests] Fix failing lit test: shtest-format.py
Summary:
The problem here is that on windows double quotes are used for paths (usually) while single quotes are not. This is not generally a problem for the tests because the lit infrastructure tends to treat both the same. One (and possibly only) exception is when some tests are run in an external shell such as some of the shtest-format tests. In this case on windows the path to python was not created correctly because it had single quotes and the test failed.

This same test is already failing with python 3 which is why our testing missed the new failure. This patch will take care of the immediate failure with python 2 and I'll send a follow up for the python 3 failure.

Reviewers: asmith, zturner

Subscribers: delcypher, llvm-commits

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

llvm-svn: 339091
2018-08-07 04:08:46 +00:00
..
Inputs [lit, tests] Fix failing lit test: shtest-format.py 2018-08-07 04:08:46 +00:00
unit [lit] Terminate ": RUN at line N" with ";" not "&&" 2018-05-31 03:40:37 +00:00
.coveragerc
boolean-parsing.py
discovery.py
googletest-format.py
googletest-timeout.py
googletest-upstream-format.py
lit.cfg [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:44 +00:00
lit.site.cfg.in
max-failures.py [lit] Report line number for failed RUN command 2018-05-31 00:55:32 +00:00
progress-bar.py
selecting.py
shell-parsing.py
shtest-encoding.py
shtest-format.py [lit] Move the shtest-xunit-output check lines into shtest-format 2018-07-23 18:08:36 +00:00
shtest-output-printing.py [lit] Report line number for failed RUN command 2018-05-31 00:55:32 +00:00
shtest-run-at-line.py Relax shtest-run-at-line.py 2018-06-06 14:53:03 +00:00
shtest-shell.py [lit] Terminate ": RUN at line N" with ";" not "&&" 2018-05-31 03:40:37 +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
test-data-micro.py
test-data.py
test-output-micro.py
test-output.py
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