[all-commits] [llvm/llvm-project] 9de63b: [lit] Pass the USERPROFILE variable through on Win...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Mar 19 00:39:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9de63b2e051cb3e79645cc20b83b4d33d132cba0
      https://github.com/llvm/llvm-project/commit/9de63b2e051cb3e79645cc20b83b4d33d132cba0
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M llvm/utils/lit/lit/TestingConfig.py

  Log Message:
  -----------
  [lit] Pass the USERPROFILE variable through on Windows

When running in a Windows Container, the Git for Windows Unix tools
(C:\Program Files\Git\usr\bin) just hang if this variable isn't
passed through.

Currently, running the LLVM/clang tests in a Windows Container fails
if that directory is added to the path, but succeeds after this change.
(After this change, the previously used GnuWin tools can be left out
entirely, too, as lit automatically picks up the Git for Windows tools
if necessary.)

Differential Revision: https://reviews.llvm.org/D98858




More information about the All-commits mailing list