Skip to content

Commit 6c14769

Browse files
Update llvm/utils/lit/lit/TestRunner.py
Co-authored-by: Alexander Richardson <[email protected]>
1 parent 8da5b76 commit 6c14769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/lit/lit/TestRunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def executeBuiltinEcho(cmd, shenv):
394394
is_redirected = False
395395
stdout = StringIO()
396396
elif kIsWindows:
397-
# Reopen stdout with specifying `newline` to avoid CRLF translation.
397+
# Reopen stdout with `newline=""` to avoid CRLF translation.
398398
# The versions of echo we are replacing on Windows all emit plain LF,
399399
# and the LLVM tests now depend on this.
400400
stdout = open(stdout.name, stdout.mode, encoding="utf-8", newline="")

0 commit comments

Comments
 (0)