[all-commits] [llvm/llvm-project] 635c64: [lit] Add HOME to "safe" variables to pass through...

Michał Górny via All-commits all-commits at lists.llvm.org
Sat May 10 03:49:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 635c648ecf0fbb7fd3fd517de2cf095522a17a6e
      https://github.com/llvm/llvm-project/commit/635c648ecf0fbb7fd3fd517de2cf095522a17a6e
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-05-10 (Sat, 10 May 2025)

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

  Log Message:
  -----------
  [lit] Add HOME to "safe" variables to pass through to tests (#139367)

Incldue `HOME` among the variables that are passed through to tests when
environment is cleaned. This is necessary for Gentoo build environments,
where individual package builds are given temporary home directories
that are exposed via `HOME` variable. By stripping the variable, `lit`
made these tests attempt to access user's home directory, resulting in
permission errors.



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