[compiler-rt] 3b79468 - [compiler-rt][test] Add REQUIRES: shell to focus-function.test with for-loop (#106150)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 20:36:48 PDT 2024


Author: Harini0924
Date: 2024-08-26T20:36:46-07:00
New Revision: 3b79468c07c772750ec5f022ea1e0379ac48282f

URL: https://github.com/llvm/llvm-project/commit/3b79468c07c772750ec5f022ea1e0379ac48282f
DIFF: https://github.com/llvm/llvm-project/commit/3b79468c07c772750ec5f022ea1e0379ac48282f.diff

LOG: [compiler-rt][test] Add REQUIRES: shell to focus-function.test with for-loop (#106150)

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

Added: 
    

Modified: 
    compiler-rt/test/fuzzer/focus-function.test

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/fuzzer/focus-function.test b/compiler-rt/test/fuzzer/focus-function.test
index ec4a03c95a6355..64fd5eebb23892 100644
--- a/compiler-rt/test/fuzzer/focus-function.test
+++ b/compiler-rt/test/fuzzer/focus-function.test
@@ -1,7 +1,8 @@
 # Tests -focus_function
 #
 # TODO: don't require linux.
-# REQUIRES: linux
+# Requires full shell support for the `for` loop syntax.
+# REQUIRES: shell, linux
 UNSUPPORTED: target=aarch64{{.*}}
 
 RUN: %cpp_compiler %S/OnlySomeBytesTest.cpp -o %t-exe


        


More information about the llvm-commits mailing list