[llvm] [lit] Fix to make "RUN: env PATH=..." work as intended (PR #165308)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 28 04:56:21 PDT 2025


================
@@ -1,7 +1,7 @@
 ## Tests env command for setting the PATH variable.
 
 # The test is using /bin/sh. Limit to system known to have /bin/sh.
-# REQUIRED: system-linux
+# REQUIRES: system-linux
----------------
arichardson wrote:

Ah this is not about the behaviour of PATH but rather because the script needs a shell interpreter. I think we could make this work on windows too by using test.py instead of test.sh

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


More information about the llvm-commits mailing list