[llvm] [BOLT] Move test under X86 target. NFCI (PR #83202)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 14:58:06 PST 2024


https://github.com/maksfb created https://github.com/llvm/llvm-project/pull/83202

instrument-wrong-target.s test requires X86 host. Move it under runtime/X86.

>From 8f57b6a6792743b04403cc57e438fb1133ed776c Mon Sep 17 00:00:00 2001
From: Maksim Panchenko <maks at fb.com>
Date: Tue, 27 Feb 2024 14:55:53 -0800
Subject: [PATCH] [BOLT] Move test under X86 target. NFCI

instrument-wrong-target.s test requires X86 host. Move it under
runtime/X86.
---
 bolt/test/runtime/{ => X86}/instrument-wrong-target.s | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename bolt/test/runtime/{ => X86}/instrument-wrong-target.s (88%)

diff --git a/bolt/test/runtime/instrument-wrong-target.s b/bolt/test/runtime/X86/instrument-wrong-target.s
similarity index 88%
rename from bolt/test/runtime/instrument-wrong-target.s
rename to bolt/test/runtime/X86/instrument-wrong-target.s
index b25c924ffbcc0f..343d93a89ed130 100644
--- a/bolt/test/runtime/instrument-wrong-target.s
+++ b/bolt/test/runtime/X86/instrument-wrong-target.s
@@ -1,8 +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
-# REQUIRES: target-x86_64 && aarch64-registered-target
+# REQUIRES: system-linux,bolt-runtime
+# REQUIRES: aarch64-registered-target
 
 # RUN: llvm-mc -triple aarch64 -filetype=obj %s -o %t.o
 # RUN: ld.lld -q -pie -o %t.exe %t.o



More information about the llvm-commits mailing list