[all-commits] [llvm/llvm-project] c2717a: [compiler-rt] [test] Remove an unintended grep par...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sun Oct 20 13:03:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2717a89b8437d041d532c7b2c535ca4f4b35872
      https://github.com/llvm/llvm-project/commit/c2717a89b8437d041d532c7b2c535ca4f4b35872
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-10-20 (Sun, 20 Oct 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp

  Log Message:
  -----------
  [compiler-rt] [test] Remove an unintended grep parameter

This parameter seems unintentional here; we're trying to grep
the input on stdin, from the earlier stage in the pipeline.

Since a recent update on Github Actions runners, the previous
form (grepping a file, while piping in data on stdin) would fail
running the test, with the test runner Python script throwing
an exception when evaluating it:

      File "D:\a\llvm-mingw\llvm-mingw\llvm-project\llvm\utils\lit\lit\TestRunner.py", line 935, in _executeShCmd
        out = procs[i].stdout.read()
              ^^^^^^^^^^^^^^^^^^^^^^
      File "C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    TypeError: a bytes-like object is required, not 'NoneType'



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