]> granicus.if.org Git - clang/commitdiff
Special-case the PS4 SDK for a clang test
authorFilipe Cabecinhas <me@filcab.net>
Fri, 30 Jan 2015 18:25:59 +0000 (18:25 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Fri, 30 Jan 2015 18:25:59 +0000 (18:25 +0000)
Original patch by Gao Yunzhong!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227593 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/nostdincxx.cpp
test/lit.cfg

index 126828de9ac266659a7b723834083dc137d37b9c..f2305adb7e8fad29ff5b428c21a0fc13e29294b2 100644 (file)
@@ -4,3 +4,4 @@
 
 // MSVC has C++ headers in same directory as C headers.
 // REQUIRES: non-ms-sdk
+// REQUIRES: non-ps4-sdk
index 0d6fb91b3b0c6a721cc2cc3f9943fe4225a3fc1f..4df79db9b62a5af80b89a553eaa0280b0213127a 100644 (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')