This is an updated version of https://reviews.llvm.org/D22144 by @jlpeyton.
The patch was accepted but not landed.
This is useful functionality and I would like to use this to enable lit tests for environment variable behaviour.
Paths
| Differential D36403
[lit] add support for unsetting environment variables (again!) ClosedPublic Authored by bd1976llvm on Aug 7 2017, 8:41 AM.
Details Summary This is an updated version of https://reviews.llvm.org/D22144 by @jlpeyton. The patch was accepted but not landed. This is useful functionality and I would like to use this to enable lit tests for environment variable behaviour.
Diff Detail
Event Timelinebd1976llvm retitled this revision from [lit] add support for unsetting environment variable (again!) to [lit] add support for unsetting environment variables (again!).Aug 7 2017, 8:49 AM This revision is now accepted and ready to land.Aug 11 2017, 12:16 PM Closed by commit rL311180: [lit] support unsetting env variables (again!) (authored by bd1976llvm). · Explain WhyAug 18 2017, 10:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 111702 llvm/trunk/utils/lit/lit/TestRunner.py
llvm/trunk/utils/lit/tests/Inputs/shtest-env/env-u.txt
llvm/trunk/utils/lit/tests/Inputs/shtest-env/env.txt
llvm/trunk/utils/lit/tests/Inputs/shtest-env/lit.cfg
llvm/trunk/utils/lit/tests/Inputs/shtest-env/mixed.txt
|