[llvm] [BOLT][NFC] Fix test requirement (PR #100867)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 05:01:02 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Vladislav Khmelevsky (yota9)

<details>
<summary>Changes</summary>

Tests that are using instrumentation should have bolt-runtime in
requirements


---
Full diff: https://github.com/llvm/llvm-project/pull/100867.diff


1 Files Affected:

- (modified) bolt/test/AArch64/dummy-return.s (+3-1) 


``````````diff
diff --git a/bolt/test/AArch64/dummy-return.s b/bolt/test/AArch64/dummy-return.s
index a446343161730..91f89dcb84762 100644
--- a/bolt/test/AArch64/dummy-return.s
+++ b/bolt/test/AArch64/dummy-return.s
@@ -1,4 +1,6 @@
-# REQUIRES: system-linux,target=aarch64{{.*}}
+# This test checks instrumentation of static binary on AArch64.
+
+# REQUIRES: system-linux,bolt-runtime,target=aarch64{{.*}}
 
 # RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -static

``````````

</details>


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


More information about the llvm-commits mailing list