r360425 - Replace lit feature keyword 'non-ms-sdk' with 'ms-sdk'; eliminate

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 06:40:18 PDT 2019


Author: probinson
Date: Fri May 10 06:40:17 2019
New Revision: 360425

URL: http://llvm.org/viewvc/llvm-project?rev=360425&view=rev
Log:
Replace lit feature keyword 'non-ms-sdk' with 'ms-sdk'; eliminate
'non-ps4-sdk' and use just 'ps4'.

Modified:
    cfe/trunk/test/Driver/nostdincxx.cpp
    cfe/trunk/test/Modules/crash-vfs-path-traversal.m
    cfe/trunk/test/Preprocessor/pragma_microsoft.c
    cfe/trunk/test/lit.cfg.py

Modified: cfe/trunk/test/Driver/nostdincxx.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/nostdincxx.cpp?rev=360425&r1=360424&r2=360425&view=diff
==============================================================================
--- cfe/trunk/test/Driver/nostdincxx.cpp (original)
+++ cfe/trunk/test/Driver/nostdincxx.cpp Fri May 10 06:40:17 2019
@@ -2,6 +2,5 @@
 // CHECK: file not found
 #include <vector> 
 
-// MSVC has C++ headers in same directory as C headers.
-// REQUIRES: non-ms-sdk
-// REQUIRES: non-ps4-sdk
+// MSVC and PS4 have C++ headers in the same directory as C headers.
+// UNSUPPORTED: ms-sdk, ps4

Modified: cfe/trunk/test/Modules/crash-vfs-path-traversal.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/crash-vfs-path-traversal.m?rev=360425&r1=360424&r2=360425&view=diff
==============================================================================
--- cfe/trunk/test/Modules/crash-vfs-path-traversal.m (original)
+++ cfe/trunk/test/Modules/crash-vfs-path-traversal.m Fri May 10 06:40:17 2019
@@ -1,4 +1,5 @@
-// REQUIRES: crash-recovery, shell, non-ms-sdk, non-ps4-sdk
+// REQUIRES: crash-recovery, shell
+// UNSUPPORTED: ms-sdk, ps4
 
 // FIXME: Canonicalizing paths to remove relative traversal components
 // currenty fails a unittest on windows and is disable by default.

Modified: cfe/trunk/test/Preprocessor/pragma_microsoft.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/pragma_microsoft.c?rev=360425&r1=360424&r2=360425&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/pragma_microsoft.c (original)
+++ cfe/trunk/test/Preprocessor/pragma_microsoft.c Fri May 10 06:40:17 2019
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -triple i686-unknown-windows-msvc %s -fsyntax-only -verify -fms-extensions -Wunknown-pragmas
 // RUN: not %clang_cc1 -triple i686-unknown-windows-msvc %s -fms-extensions -E | FileCheck %s
-// REQUIRES: non-ps4-sdk
+// UNSUPPORTED: ps4
 
 // rdar://6495941
 
@@ -215,4 +215,4 @@ void g() {}
 #pragma execution_character_set(push)
 #pragma execution_character_set(push, "utf-8")
 #pragma execution_character_set(push, "UTF-8")
-#pragma execution_character_set(pop)
\ No newline at end of file
+#pragma execution_character_set(pop)

Modified: cfe/trunk/test/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg.py?rev=360425&r1=360424&r2=360425&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg.py (original)
+++ cfe/trunk/test/lit.cfg.py Fri May 10 06:40:17 2019
@@ -140,13 +140,9 @@ if is_filesystem_case_insensitive():
 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'.*-(windows-msvc)$', config.target_triple):
-    config.available_features.add('non-ms-sdk')
-
-# Not set on native PS4 environment.
-if not re.match(r'.*-scei-ps4', config.target_triple):
-    config.available_features.add('non-ps4-sdk')
+# Set on native MS environment.
+if re.match(r'.*-(windows-msvc)$', config.target_triple):
+    config.available_features.add('ms-sdk')
 
 # [PR8833] LLP64-incompatible tests
 if not re.match(r'^x86_64.*-(windows-msvc|windows-gnu)$', config.target_triple):




More information about the cfe-commits mailing list