Special-case the PS4 SDK for a clang test

Original patch by Gao Yunzhong!

llvm-svn: 227593
This commit is contained in:
Filipe Cabecinhas 2015-01-30 18:25:59 +00:00
parent 3455c4dce8
commit 18a72611f1
2 changed files with 5 additions and 0 deletions

View File

@ -4,3 +4,4 @@
// MSVC has C++ headers in same directory as C headers.
// REQUIRES: non-ms-sdk
// REQUIRES: non-ps4-sdk

View File

@ -404,6 +404,10 @@ if not re.match(r'.*-win32$', config.target_triple):
if not re.match(r'.*-win32$', config.target_triple):
config.available_features.add('non-ms-sdk')
# Not set on native PS4 environment.
if '*-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):
config.available_features.add('LP64')