dotnet: force ICU to be loaded during tests
This commit is contained in:
parent
7150d7e203
commit
81693c96ba
|
@ -71,8 +71,10 @@
|
|||
export DOTNET_ROOT=${runtime}
|
||||
'' + run);
|
||||
|
||||
# Setting LANG to something other than 'C' forces the runtime to search
|
||||
# for ICU, which will be required in most user environments.
|
||||
checkConsoleOutput = command: ''
|
||||
output="$(${command})"
|
||||
output="$(LANG=C.UTF-8 ${command})"
|
||||
# yes, older SDKs omit the comma
|
||||
[[ "$output" =~ Hello,?\ World! ]] && touch "$out"
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue