[clang] b8da574 - [PS4/PS5] Convert tests to check 'target=<triple>'

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 12:02:39 PST 2022


Author: Paul Robinson
Date: 2022-11-30T12:02:30-08:00
New Revision: b8da574c0d5079d2e6e44d2ccb7cf466b2872065

URL: https://github.com/llvm/llvm-project/commit/b8da574c0d5079d2e6e44d2ccb7cf466b2872065
DIFF: https://github.com/llvm/llvm-project/commit/b8da574c0d5079d2e6e44d2ccb7cf466b2872065.diff

LOG: [PS4/PS5] Convert tests to check 'target=<triple>'

Part of the project to eliminate special handling for triples in lit
expressions.

Added: 
    

Modified: 
    clang/test/Driver/experimental-library-flag.cpp
    clang/test/Driver/inhibit-downstream-commands.c
    clang/test/Driver/no-integrated-as.s
    clang/test/Modules/crash-vfs-path-traversal.m

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/experimental-library-flag.cpp b/clang/test/Driver/experimental-library-flag.cpp
index 523c8e410f6c3..6f827ccd6275b 100644
--- a/clang/test/Driver/experimental-library-flag.cpp
+++ b/clang/test/Driver/experimental-library-flag.cpp
@@ -1,6 +1,6 @@
 // On some platforms, -stdlib=libc++ is currently ignored, so -lc++experimental is not added.
 // Once -stdlib=libc++ works on those, this XFAIL can be removed.
-// XFAIL: target={{.*windows.*}}, x86_64-scei-ps4, x86_64-sie-ps5
+// XFAIL: target={{.*-windows.*}}, target={{.*-ps(4|5)}}
 
 // For some reason, this fails with a core dump on AIX. This needs to be investigated.
 // UNSUPPORTED: aix

diff  --git a/clang/test/Driver/inhibit-downstream-commands.c b/clang/test/Driver/inhibit-downstream-commands.c
index f6dc4ee61e9bb..a0fde23df7d45 100644
--- a/clang/test/Driver/inhibit-downstream-commands.c
+++ b/clang/test/Driver/inhibit-downstream-commands.c
@@ -2,5 +2,5 @@
 // CHECK: error: unknown type name 'invalid'
 // CHECK-NOT: clang: error: assembler command failed
 // CHECK-NOT: clang: error: linker command failed
-// XFAIL: target={{.*windows-msvc}}, ps5
+// XFAIL: target={{.*-windows-msvc}}, target={{.*-ps5}}
 invalid C code!

diff  --git a/clang/test/Driver/no-integrated-as.s b/clang/test/Driver/no-integrated-as.s
index 6be8e17398afe..f03217d19a206 100644
--- a/clang/test/Driver/no-integrated-as.s
+++ b/clang/test/Driver/no-integrated-as.s
@@ -1,6 +1,6 @@
 ; RUN: %clang -### -no-integrated-as -c %s 2>&1 | FileCheck %s -check-prefix IAS
 ; Windows and PS5 don't support no-integrated-as
-; XFAIL: target={{.*windows-msvc}}, ps5
+; XFAIL: target={{.*-windows-msvc}}, target={{.*-ps5}}
 ;
 ; Make sure the current file's filename appears in the output.
 ; We can't generically match on the assembler name, so we just make sure

diff  --git a/clang/test/Modules/crash-vfs-path-traversal.m b/clang/test/Modules/crash-vfs-path-traversal.m
index 7705b7930e9c0..6cd43a440cc94 100644
--- a/clang/test/Modules/crash-vfs-path-traversal.m
+++ b/clang/test/Modules/crash-vfs-path-traversal.m
@@ -1,5 +1,5 @@
 // REQUIRES: crash-recovery, shell
-// UNSUPPORTED: ms-sdk, ps4
+// UNSUPPORTED: ms-sdk, target={{.*-ps4}}
 
 // FIXME: Canonicalizing paths to remove relative traversal components
 // currenty fails a unittest on windows and is disable by default.


        


More information about the cfe-commits mailing list