From: Filipe Cabecinhas Date: Fri, 30 Jan 2015 18:25:59 +0000 (+0000) Subject: Special-case the PS4 SDK for a clang test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03305e4f1057cfc3b7fada39a5a82d6189271d78;p=clang Special-case the PS4 SDK for a clang test Original patch by Gao Yunzhong! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227593 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/nostdincxx.cpp b/test/Driver/nostdincxx.cpp index 126828de9a..f2305adb7e 100644 --- a/test/Driver/nostdincxx.cpp +++ b/test/Driver/nostdincxx.cpp @@ -4,3 +4,4 @@ // MSVC has C++ headers in same directory as C headers. // REQUIRES: non-ms-sdk +// REQUIRES: non-ps4-sdk diff --git a/test/lit.cfg b/test/lit.cfg index 0d6fb91b3b..4df79db9b6 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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')