summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-04-23 14:58:46 -0700
committerFangrui Song <i@maskray.me>2023-04-23 14:58:46 -0700
commitbda5f77f9664dc1b7f43bef854d66af161a9a5f0 (patch)
treee3526ffcb2f1ad18156c42d89e3f80a2a6fe899d /libunwind
parentc0c1281bb71ee4a0d143cadbc3c3a2d20a873bb6 (diff)
downloadllvm-bda5f77f9664dc1b7f43bef854d66af161a9a5f0.tar.gz
[test] Simplify libunwind REQUIRES
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/test/bad_unwind_info.pass.cpp2
-rw-r--r--libunwind/test/signal_unwind.pass.cpp2
-rw-r--r--libunwind/test/unwind_leaffunction.pass.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/libunwind/test/bad_unwind_info.pass.cpp b/libunwind/test/bad_unwind_info.pass.cpp
index 06017d17ab57..b3284e8daed7 100644
--- a/libunwind/test/bad_unwind_info.pass.cpp
+++ b/libunwind/test/bad_unwind_info.pass.cpp
@@ -10,7 +10,7 @@
// Ensure that libunwind doesn't crash on invalid info; the Linux aarch64
// sigreturn frame check would previously attempt to access invalid memory in
// this scenario.
-// REQUIRES: linux && (target={{aarch64-.+}} || target={{s390x-.+}} || target={{x86_64-.+}})
+// REQUIRES: target={{(aarch64|s390x|x86_64)-.+linux.*}}
// GCC doesn't support __attribute__((naked)) on AArch64.
// UNSUPPORTED: gcc
diff --git a/libunwind/test/signal_unwind.pass.cpp b/libunwind/test/signal_unwind.pass.cpp
index e6a53ab9ff95..2a731414aa85 100644
--- a/libunwind/test/signal_unwind.pass.cpp
+++ b/libunwind/test/signal_unwind.pass.cpp
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
// Ensure that the unwinder can cope with the signal handler.
-// REQUIRES: linux && (target={{aarch64-.+}} || target={{s390x-.+}} || target={{x86_64-.+}})
+// REQUIRES: target={{(aarch64|s390x|x86_64)-.+linux.*}}
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
diff --git a/libunwind/test/unwind_leaffunction.pass.cpp b/libunwind/test/unwind_leaffunction.pass.cpp
index bdeb44ab62ae..c1b223bb6966 100644
--- a/libunwind/test/unwind_leaffunction.pass.cpp
+++ b/libunwind/test/unwind_leaffunction.pass.cpp
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
// Ensure that leaf function can be unwund.
-// REQUIRES: linux && (target={{aarch64-.+}} || target={{s390x-.+}} || target={{x86_64-.+}})
+// REQUIRES: target={{(aarch64|s390x|x86_64)-.+linux.*}}
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan