[llvm] [BOLT] Fix runtime/instrument-wrong-target.s test (PR #82858)

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 18:42:53 PST 2024


================
@@ -1,7 +1,8 @@
 # Test that BOLT errs when trying to instrument a binary with a different
 # architecture than the one BOLT is built for.
 
-# REQUIRES: x86_64-linux,bolt-runtime,target=x86_64{{.*}}
+# REQUIRES: x86_64-linux,bolt-runtime
+# REQUIRES: target-x86_64 && aarch64-registered-target
----------------
dcci wrote:

I've never seen this syntax with `&&`. Is it a new addition? Anyway, if you tested it and it works, LG.

https://github.com/llvm/llvm-project/pull/82858


More information about the llvm-commits mailing list