[libunwind] bda5f77 - [test] Simplify libunwind REQUIRES
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 23 14:58:51 PDT 2023
Author: Fangrui Song
Date: 2023-04-23T14:58:46-07:00
New Revision: bda5f77f9664dc1b7f43bef854d66af161a9a5f0
URL: https://github.com/llvm/llvm-project/commit/bda5f77f9664dc1b7f43bef854d66af161a9a5f0
DIFF: https://github.com/llvm/llvm-project/commit/bda5f77f9664dc1b7f43bef854d66af161a9a5f0.diff
LOG: [test] Simplify libunwind REQUIRES
Added:
Modified:
libunwind/test/bad_unwind_info.pass.cpp
libunwind/test/signal_unwind.pass.cpp
libunwind/test/unwind_leaffunction.pass.cpp
Removed:
################################################################################
diff --git a/libunwind/test/bad_unwind_info.pass.cpp b/libunwind/test/bad_unwind_info.pass.cpp
index 06017d17ab574..b3284e8daed71 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 e6a53ab9ff952..2a731414aa858 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 bdeb44ab62ae8..c1b223bb69668 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
More information about the cfe-commits
mailing list