[wasm] Fix Wasm.Build.Tests test failures on windows (#70328)
authorAnkit Jain <radical@gmail.com>
Tue, 7 Jun 2022 19:40:11 +0000 (15:40 -0400)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 19:40:11 +0000 (15:40 -0400)
commit07ee2c7f9144c926681881b25d9ebac7c4b9dfce
tree8f5114b43f911fc2f149a705b0ae08af5f8fa3eb
parent11f24dd3b68da68dbbbd222dac98768f6893f30c
[wasm] Fix Wasm.Build.Tests test failures on windows (#70328)

* [wasm] Workaround a python bug which can cause em* scripts to hang

Issue - https://github.com/emscripten-core/emscripten/pull/15146

Emscripten added a workaround enabled by setting
the environment variable - `EM_WORKAROUND_PYTHON_BUG_34780`.

* [wasm] Wasm.Build.Tests - use a local copy of `dotnet`

.. to avoid conflicting with other instances on helix.

* don't log output from robocopy
src/mono/wasm/build/WasmApp.Native.targets
src/tests/BuildWasmApps/Wasm.Build.Tests/BuildEnvironment.cs
src/tests/BuildWasmApps/Wasm.Build.Tests/data/RunScriptTemplate.cmd
src/tests/BuildWasmApps/Wasm.Build.Tests/data/RunScriptTemplate.sh