diff options
author | Petr Hosek <phosek@chromium.org> | 2018-08-09 02:16:18 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-08-09 02:16:18 +0000 |
commit | 9421b200959c22e3cbc8582ab6679e34a4dde54a (patch) | |
tree | 36d76682394961e30423e79515a8fae77c06b94a /test/lit.cfg.py | |
parent | d6a0f14e93911365117e48208446afebde224ad9 (diff) |
[CMake] Use normalized Windows target triples
Changes the default Windows target triple returned by
GetHostTriple.cmake from the old environment names (which we wanted to
move away from) to newer, normalized ones. This also requires updating
all tests to use the new systems names in constraints.
Differential Revision: https://reviews.llvm.org/D47381
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r-- | test/lit.cfg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit.cfg.py b/test/lit.cfg.py index c962b41723..39b5586612 100644 --- a/test/lit.cfg.py +++ b/test/lit.cfg.py @@ -137,7 +137,7 @@ if os.path.exists('/dev/fd/0') and sys.platform not in ['cygwin']: config.available_features.add('dev-fd-fs') # Not set on native MS environment. -if not re.match(r'.*-win32$', config.target_triple): +if not re.match(r'.*-(windows-msvc)$', config.target_triple): config.available_features.add('non-ms-sdk') # Not set on native PS4 environment. @@ -145,7 +145,7 @@ if not re.match(r'.*-scei-ps4', config.target_triple): config.available_features.add('non-ps4-sdk') # [PR8833] LLP64-incompatible tests -if not re.match(r'^x86_64.*-(win32|mingw32|windows-gnu)$', config.target_triple): +if not re.match(r'^x86_64.*-(windows-msvc|windows-gnu)$', config.target_triple): config.available_features.add('LP64') # [PR12920] "clang-driver" -- set if gcc driver is not used. |