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
Reid Kleckner 8eb4c49323 [lit] Port googletest lit tests to Windows
Summary:
The technique of directly calling subprocess.Popen on a python script
doesn't work on Windows. The executable path of the command must refer
to a valid win32 executable.

Instead, rename all the python scripts masquerading as gtest executables
to have .py extensions, so we can easily detect then and call the python
executable for them. Do this on Linux as well as Windows for
consistency.

The test suite directory names also come out in lower-case on Windows.
We can consider removing that in a later patch. This change just updates
the FileCheck lines to match on Windows.

Fixes PR33933

Reviewers: modocache, mgorny

Subscribers: llvm-commits

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

llvm-svn: 309347
2017-07-28 01:05:55 +00:00
..
Inputs [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
unit Un-XFAIL some internal lit tests on Windows, they pass for me locally 2017-07-26 18:04:18 +00:00
.coveragerc
boolean-parsing.py
discovery.py [lit] Fix discovery.py on Windows by matching backslashes when necessary 2017-07-26 22:00:38 +00:00
googletest-format.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +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 Un-revert "Teach the CMake build system to run lit's test suite. These can be run" 2017-07-27 19:18:35 +00:00
lit.site.cfg.in Un-revert "Teach the CMake build system to run lit's test suite. These can be run" 2017-07-27 19:18:35 +00:00
max-failures.py [lit] Fix race between shtest-shell and max-failures tests 2017-07-26 22:57:32 +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 Un-XFAIL some internal lit tests on Windows, they pass for me locally 2017-07-26 18:04:18 +00:00
shtest-output-printing.py [lit] Fix shtest-output-printing.py on Windows by matching either / or \\ 2017-07-26 22:11:30 +00:00
shtest-shell.py [lit] Fix shtest-shell and max-failures lit tests on Windows 2017-07-26 22:21:25 +00:00
shtest-timeout.py
test-data.py
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
xunit-output.py