diff options
author | Fangrui Song <i@maskray.me> | 2023-04-23 14:58:46 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-04-23 14:58:46 -0700 |
commit | bda5f77f9664dc1b7f43bef854d66af161a9a5f0 (patch) | |
tree | e3526ffcb2f1ad18156c42d89e3f80a2a6fe899d /libunwind | |
parent | c0c1281bb71ee4a0d143cadbc3c3a2d20a873bb6 (diff) | |
download | llvm-bda5f77f9664dc1b7f43bef854d66af161a9a5f0.zip llvm-bda5f77f9664dc1b7f43bef854d66af161a9a5f0.tar.gz llvm-bda5f77f9664dc1b7f43bef854d66af161a9a5f0.tar.bz2 |
[test] Simplify libunwind REQUIRES
Diffstat (limited to 'libunwind')
-rw-r--r-- | libunwind/test/bad_unwind_info.pass.cpp | 2 | ||||
-rw-r--r-- | libunwind/test/signal_unwind.pass.cpp | 2 | ||||
-rw-r--r-- | libunwind/test/unwind_leaffunction.pass.cpp | 2 |
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 06017d17..b3284e8 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 e6a53ab..2a73141 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 bdeb44a..c1b223bb 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 |