[all-commits] [llvm/llvm-project] 25aac6: [lit] Use text mode when opening text files on z/O...

Abhina Sree via All-commits all-commits at lists.llvm.org
Tue Sep 22 05:53:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25aac605a4f1fc72bd1dcf0bb8d64fbfe2db3aa9
      https://github.com/llvm/llvm-project/commit/25aac605a4f1fc72bd1dcf0bb8d64fbfe2db3aa9
  Author: Abhina Sree <Abhina.Sreeskantharajan at ibm.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/builtin_commands/cat.py
    M llvm/utils/lit/lit/builtin_commands/diff.py

  Log Message:
  -----------
  [lit] Use text mode when opening text files on z/OS (#217434)

On z/OS, we rely on autoconversion to read files correctly, and this
requires files to be opened as text.

The following change https://github.com/llvm/llvm-project/pull/208024
changed the streams to be read and piped as binary resulting in some
test regressions due to unreadable output. This patch restores the
functionality of opening and reading as a text stream.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list