[llvm] [Lit] Open sub-processes with text=`False` (PR #194577)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 02:45:17 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-testing-tools
Author: Benjamin Stott (BStott6)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/194577.diff
1 Files Affected:
- (modified) llvm/utils/lit/lit/TestRunner.py (+1-2)
``````````diff
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index 0842c58a5f88a..fc7e0001a7628 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -475,8 +475,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
stderr=stderr,
env=cmd_shenv.env,
close_fds=kUseCloseFDs,
- universal_newlines=True,
- errors="replace",
+ text=False,
)
)
if old_umask != -1:
``````````
</details>
https://github.com/llvm/llvm-project/pull/194577
More information about the llvm-commits
mailing list