[compiler-rt] Add REQUIRES: shell to focus-function.test (PR #106150)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 15:15:27 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: None (Harini0924)
<details>
<summary>Changes</summary>
This patch adds `REQUIRES: shell` to the `focus-function.test` because the lit internal shell does not support the for loop syntax. This will make the test file unsupported when running llvm-lit with its internal shell implementation, which is enabled by turning on the `LIT_USE_INTERNAL_SHELL=1`.
fixes: #<!-- -->106111
---
Full diff: https://github.com/llvm/llvm-project/pull/106150.diff
1 Files Affected:
- (modified) compiler-rt/test/fuzzer/focus-function.test (+1-1)
``````````diff
diff --git a/compiler-rt/test/fuzzer/focus-function.test b/compiler-rt/test/fuzzer/focus-function.test
index ec4a03c95a6355..09a64b043afc11 100644
--- a/compiler-rt/test/fuzzer/focus-function.test
+++ b/compiler-rt/test/fuzzer/focus-function.test
@@ -1,7 +1,7 @@
# Tests -focus_function
#
# TODO: don't require linux.
-# REQUIRES: linux
+# REQUIRES: shell, linux
UNSUPPORTED: target=aarch64{{.*}}
RUN: %cpp_compiler %S/OnlySomeBytesTest.cpp -o %t-exe
``````````
</details>
https://github.com/llvm/llvm-project/pull/106150
More information about the llvm-commits
mailing list