Page MenuHomePhabricator

csharp: Fix running headless tests in dotnet
ClosedPublic

Authored by lauromoura on Nov 7 2019, 12:07 PM.

Details

Summary

CoreCLR, the runtime of dotnet, has some issues regarding storing
environment variables (see dotnet/coreclr issue #15812), keeping them in
a local cache instead of flushing to the native setenv.

This commit replaces the usage of
System.Environment.SetEnvironmentVariable with a setenv wrapper.

Test Plan

Run without DISPLAY set and with dotnet.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lauromoura created this revision.Nov 7 2019, 12:07 PM
lauromoura requested review of this revision.Nov 7 2019, 12:07 PM
brunobelo accepted this revision.Nov 7 2019, 2:19 PM
This revision is now accepted and ready to land.Nov 7 2019, 2:19 PM
This revision was automatically updated to reflect the committed changes.