From c360553c15a8e5aa94d2236eb73e7dfeab9543e5 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 18 Jun 2021 13:33:14 -0400 Subject: [runtimes] Simplify how we specify XFAIL & friends based on the triple Now that Lit supports regular expressions inside XFAIL & friends, it is much easier to write Lit annotations based on the triple. Differential Revision: https://reviews.llvm.org/D104747 --- libunwind/test/remember_state_leak.pass.sh.s | 4 ++-- libunwind/test/signal_unwind.pass.cpp | 2 +- libunwind/test/unwind_leaffunction.pass.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libunwind/test') diff --git a/libunwind/test/remember_state_leak.pass.sh.s b/libunwind/test/remember_state_leak.pass.sh.s index eb363d0..f18d176 100644 --- a/libunwind/test/remember_state_leak.pass.sh.s +++ b/libunwind/test/remember_state_leak.pass.sh.s @@ -1,5 +1,5 @@ -# REQUIRES: x86, linux -# RUN: %{build} -target x86_64-unknown-linux-gnu +# REQUIRES: target={{x86_64-.+-linux-gnu}} +# RUN: %{build} # RUN: %{run} # The following assembly is a translation of this code: diff --git a/libunwind/test/signal_unwind.pass.cpp b/libunwind/test/signal_unwind.pass.cpp index 3acd772..c16adeb 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-x86_64) +// REQUIRES: linux && (target={{aarch64-.+}} || target={{x86_64-.+}}) #include #include diff --git a/libunwind/test/unwind_leaffunction.pass.cpp b/libunwind/test/unwind_leaffunction.pass.cpp index 725a291..a05e315 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-x86_64) +// REQUIRES: linux && (target={{aarch64-.+}} || target={{x86_64-.+}}) #include #include -- cgit v1.1