FYI: environment variables in Lit tests
Johan Engelen
j at j.nl
Wed Jan 23 12:06:21 UTC 2019
On Wednesday, 23 January 2019 at 11:13:06 UTC, Petar Kirov
[ZombineDev] wrote:
> On Thursday, 17 January 2019 at 00:42:23 UTC, Johan Engelen
> wrote:
>> Hi all,
>> I just found out about lit's "env" command, see:
>> https://wiki.dlang.org/LDC_Lit-based_testsuite#Environment_variables
>>
>> -Johan
>
> FYI, env is a POSIX thing [1], so I think it works just by
> virtue of using the system shell.
The cool thing is that Lit recognizes `env` and makes it work
cross-platform (same as e.g. `rm` and `mkdir`).
-Johan
More information about the digitalmars-d-ldc
mailing list