prehistoric-lunch-78313
06/14/2023, 11:23 AMLANG= set in the environment to force the locale. There's a golang setting for this, subprocess_env_vars, but it doesn't appear to be used when running tests -- both based on what I see from a trace and the documentation:
Environment variables to set when invoking theTests aren't run via thetool.go
go tool, they are compiled into a separate test runner which is then executed. I can set this environment variable within my test code but it would be handy if there was a similar kind of test_vars setting available in either [golang] or [go-test] -- or the behavior of the existing setting was changed to include using those vars when running tests.bitter-ability-32190
06/14/2023, 11:48 AM