[all-commits] [llvm/llvm-project] fe3f6c: [Clang] Propagate 'SystemDrive' environment variab...

Krystian Stasiowski via All-commits all-commits at lists.llvm.org
Mon Apr 29 10:21:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe3f6c63cd6b75433a72b980a23d9848d19abdc2
      https://github.com/llvm/llvm-project/commit/fe3f6c63cd6b75433a72b980a23d9848d19abdc2
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

  Changed paths:
    M clang/test/Unit/lit.cfg.py

  Log Message:
  -----------
  [Clang] Propagate 'SystemDrive' environment variable for unit tests (#90478)

On Windows, running unit tests by directly invoking `llvm-lit.py` (e.g.
`python3 llvm-lit.py clang/test/Unit`) may create a folder named `%SystemDrive%`
in the current working directory. This appears to happen because `lit.cfg.py` in 
`clang/test/Unit` does not propagate the `SystemDrive` environment variable.



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