FYI: environment variables in Lit tests

Petar Petar
Wed Jan 23 11:13:06 UTC 2019


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. Unfortunately, I think you'll need to 
use a different thing for Windows, if the tests are not running 
in a msys2/mingw/cygwin environment.

[1]: https://www.unix.com/man-page/posix/1posix/env/


More information about the digitalmars-d-ldc mailing list