[clang] aa14968 - [PS4/PS5] Canonicalize tests to use 'target=.*-(ps4|ps5)'
Paul Robinson via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 1 07:21:15 PST 2022
Author: Paul Robinson
Date: 2022-12-01T07:21:07-08:00
New Revision: aa149687dc76f304a5228a167f4eebf19e5fb2d7
URL: https://github.com/llvm/llvm-project/commit/aa149687dc76f304a5228a167f4eebf19e5fb2d7
DIFF: https://github.com/llvm/llvm-project/commit/aa149687dc76f304a5228a167f4eebf19e5fb2d7.diff
LOG: [PS4/PS5] Canonicalize tests to use 'target=.*-(ps4|ps5)'
This allows grepping for ps4 or ps5 to continue to work.
Added:
Modified:
clang/test/Driver/experimental-library-flag.cpp
clang/test/Driver/lld-repro.c
clang/test/Driver/nostdincxx.cpp
clang/test/Modules/crash-vfs-path-traversal.m
clang/test/Preprocessor/lang-std.cpp
Removed:
################################################################################
diff --git a/clang/test/Driver/experimental-library-flag.cpp b/clang/test/Driver/experimental-library-flag.cpp
index 6f827ccd6275b..eec5df1bd3a77 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.*}}, target={{.*-ps(4|5)}}
+// XFAIL: target={{.*-windows.*}}, target={{.*-(ps4|ps5)}}
// For some reason, this fails with a core dump on AIX. This needs to be investigated.
// UNSUPPORTED: aix
diff --git a/clang/test/Driver/lld-repro.c b/clang/test/Driver/lld-repro.c
index 9fc37d98cef6c..9457dd334b5b9 100644
--- a/clang/test/Driver/lld-repro.c
+++ b/clang/test/Driver/lld-repro.c
@@ -1,5 +1,5 @@
// REQUIRES: lld
-// UNSUPPORTED: target={{.*-ps(4|5)}}
+// UNSUPPORTED: target={{.*-(ps4|ps5)}}
// RUN: echo "-nostartfiles -nostdlib -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t" \
// RUN: | sed -e 's/\\/\\\\/g' > %t.rsp
diff --git a/clang/test/Driver/nostdincxx.cpp b/clang/test/Driver/nostdincxx.cpp
index 11fd59fab2c29..ef5702a19c037 100644
--- a/clang/test/Driver/nostdincxx.cpp
+++ b/clang/test/Driver/nostdincxx.cpp
@@ -6,4 +6,4 @@
#include <vector>
// MSVC, PS4, PS5 have C++ headers in the same directory as C headers.
-// UNSUPPORTED: ms-sdk, target={{.*-ps(4|5)}}
+// UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}
diff --git a/clang/test/Modules/crash-vfs-path-traversal.m b/clang/test/Modules/crash-vfs-path-traversal.m
index 6cd43a440cc94..891c7960f08b1 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, target={{.*-ps4}}
+// UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}
// FIXME: Canonicalizing paths to remove relative traversal components
// currenty fails a unittest on windows and is disable by default.
diff --git a/clang/test/Preprocessor/lang-std.cpp b/clang/test/Preprocessor/lang-std.cpp
index 86aeb9ad45d51..881d38641bc73 100644
--- a/clang/test/Preprocessor/lang-std.cpp
+++ b/clang/test/Preprocessor/lang-std.cpp
@@ -1,4 +1,4 @@
-// UNSUPPORTED: target={{.*-ps(4|5)}}
+// UNSUPPORTED: target={{.*-(ps4|ps5)}}
/// Test default standards.
/// PS4/PS5 default to gnu++14.
More information about the cfe-commits
mailing list