[llvm] [llvm-lit] Fix `TypeError` string argument expected in lit's internal shell (PR #105925)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 08:09:09 PDT 2024
================
@@ -768,9 +768,9 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
# FIXME: Standardize on the builtin echo implementation. We can use a
# temporary file to sidestep blocking pipe write issues.
- # Ensure args[0] is hashable.
- args[0] = expand_glob(args[0], cmd_shenv.cwd)[0]
-
+ # Expand all glob expressions
+ args = expand_glob_expressions(args, cmd_shenv.cwd)
+
----------------
arichardson wrote:
trailing space
https://github.com/llvm/llvm-project/pull/105925
More information about the llvm-commits
mailing list