diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2021-06-18 13:33:14 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2021-07-01 14:03:30 -0400 |
commit | c360553c15a8e5aa94d2236eb73e7dfeab9543e5 (patch) | |
tree | c3b7c90963e399b7133b1d1306f773aead157aa9 /libunwind/test | |
parent | a319eafd160d8d8f3ebd47a3a636e01597b36bff (diff) | |
download | llvm-c360553c15a8e5aa94d2236eb73e7dfeab9543e5.zip llvm-c360553c15a8e5aa94d2236eb73e7dfeab9543e5.tar.gz llvm-c360553c15a8e5aa94d2236eb73e7dfeab9543e5.tar.bz2 |
[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
Diffstat (limited to 'libunwind/test')
-rw-r--r-- | libunwind/test/remember_state_leak.pass.sh.s | 4 | ||||
-rw-r--r-- | libunwind/test/signal_unwind.pass.cpp | 2 | ||||
-rw-r--r-- | libunwind/test/unwind_leaffunction.pass.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
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 <assert.h> #include <dlfcn.h> 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 <assert.h> #include <dlfcn.h> |