summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/Inputs/googletest-timeout
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-07-28 01:05:55 +0000
committerReid Kleckner <rnk@google.com>2017-07-28 01:05:55 +0000
commit4ca8d21ef371fc7caacd32fbd6af81dfea3f23c9 (patch)
tree7b2d8595cb0c0f676a0bfd75422ef30681a74dab /llvm/utils/lit/tests/Inputs/googletest-timeout
parente70a472bad63666ce16a68947352806d07294015 (diff)
downloadbcm5719-llvm-4ca8d21ef371fc7caacd32fbd6af81dfea3f23c9.tar.gz
bcm5719-llvm-4ca8d21ef371fc7caacd32fbd6af81dfea3f23c9.zip
[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
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/googletest-timeout')
-rw-r--r--[-rwxr-xr-x]llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py (renamed from llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest)0
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest b/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py
index f3a90ff4cd6..f3a90ff4cd6 100755..100644
--- a/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest
+++ b/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py
OpenPOWER on IntegriCloud