From 39f5aab98d8fddc92ce4bd4f0c60577ad61a2bf2 Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 7 Sep 2022 11:44:53 +0200 Subject: [PATCH 1/2] fix --- eng/testing/tests.wasm.targets | 4 ++-- .../tests/System/Net/Prerequisites/LocalEchoServer.props | 2 +- src/libraries/sendtohelix-wasm.targets | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/testing/tests.wasm.targets b/eng/testing/tests.wasm.targets index 02af8e04189c71..c87bdf3cd60687 100644 --- a/eng/testing/tests.wasm.targets +++ b/eng/testing/tests.wasm.targets @@ -307,8 +307,8 @@ - - + + diff --git a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props index 29501d4d6c47fc..b28a3a1673f196 100644 --- a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props +++ b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props @@ -22,7 +22,7 @@ - + diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index acf037e988b272..9b8bb96aa847b8 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -183,7 +183,7 @@ - + From d7d9cd322704165bb340a9b6377535d27790fecb Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 7 Sep 2022 12:05:24 +0200 Subject: [PATCH 2/2] feedback --- eng/pipelines/runtime-extra-platforms-wasm.yml | 8 ++++---- eng/testing/WasmRunnerAOTTemplate.sh | 2 +- eng/testing/WasmRunnerTemplate.cmd | 2 +- eng/testing/WasmRunnerTemplate.sh | 2 +- eng/testing/tests.wasm.targets | 8 ++++---- .../Net/Prerequisites/LocalEchoServer.props | 4 ++-- src/libraries/sendtohelix-wasm.targets | 16 ++++++++-------- .../Wasm.Build.Tests/data/RunScriptTemplate.cmd | 2 +- .../Wasm.Build.Tests/data/RunScriptTemplate.sh | 2 +- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/eng/pipelines/runtime-extra-platforms-wasm.yml b/eng/pipelines/runtime-extra-platforms-wasm.yml index 60d0105dedcc59..887d4be4e25959 100644 --- a/eng/pipelines/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/runtime-extra-platforms-wasm.yml @@ -86,7 +86,7 @@ jobs: isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} alwaysRun: ${{ parameters.isWasmOnlyBuild }} scenarios: - - WasmTestOnNodeJs + - WasmTestOnNodeJS # Library tests - Windows - template: /eng/pipelines/common/templates/wasm-library-tests.yml @@ -98,7 +98,7 @@ jobs: isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} scenarios: - WasmTestOnBrowser - - WasmTestOnNodeJs + - WasmTestOnNodeJS # Library tests with full threading - template: /eng/pipelines/common/templates/wasm-library-tests.yml @@ -118,7 +118,7 @@ jobs: scenarios: - normal - WasmTestOnBrowser - - WasmTestOnNodeJs + - WasmTestOnNodeJS # Library tests with internal threads only - template: /eng/pipelines/common/templates/wasm-library-tests.yml @@ -138,7 +138,7 @@ jobs: scenarios: - normal - WasmTestOnBrowser - - WasmTestOnNodeJs + - WasmTestOnNodeJS # EAT Library tests - only run on linux - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml diff --git a/eng/testing/WasmRunnerAOTTemplate.sh b/eng/testing/WasmRunnerAOTTemplate.sh index 7348a25674c008..e44faf7f8c0aa1 100644 --- a/eng/testing/WasmRunnerAOTTemplate.sh +++ b/eng/testing/WasmRunnerAOTTemplate.sh @@ -33,7 +33,7 @@ fi if [[ "$XHARNESS_COMMAND" == "test" ]]; then if [[ -z "$JS_ENGINE" ]]; then - if [[ "$SCENARIO" == "WasmTestOnNodeJs" || "$SCENARIO" == "wasmtestonnodejs" ]]; then + if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then JS_ENGINE="--engine=NodeJS" else JS_ENGINE="--engine=V8" diff --git a/eng/testing/WasmRunnerTemplate.cmd b/eng/testing/WasmRunnerTemplate.cmd index 026a06066c318e..1fc0e6ef4f7697 100644 --- a/eng/testing/WasmRunnerTemplate.cmd +++ b/eng/testing/WasmRunnerTemplate.cmd @@ -34,7 +34,7 @@ if [%XHARNESS_COMMAND%] == [] ( if /I [%XHARNESS_COMMAND%] == [test] ( if [%JS_ENGINE%] == [] ( - if /I [%SCENARIO%] == [WasmTestOnNodeJs] ( + if /I [%SCENARIO%] == [WasmTestOnNodeJS] ( set "JS_ENGINE=--engine^=NodeJS" ) else ( set "JS_ENGINE=--engine^=V8" diff --git a/eng/testing/WasmRunnerTemplate.sh b/eng/testing/WasmRunnerTemplate.sh index 6c054ba9d23e13..2d5152215635a8 100644 --- a/eng/testing/WasmRunnerTemplate.sh +++ b/eng/testing/WasmRunnerTemplate.sh @@ -33,7 +33,7 @@ fi if [[ "$XHARNESS_COMMAND" == "test" ]]; then if [[ -z "$JS_ENGINE" ]]; then - if [[ "$SCENARIO" == "WasmTestOnNodeJs" || "$SCENARIO" == "wasmtestonnodejs" ]]; then + if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then JS_ENGINE="--engine=NodeJS" else JS_ENGINE="--engine=V8" diff --git a/eng/testing/tests.wasm.targets b/eng/testing/tests.wasm.targets index c87bdf3cd60687..0d6a88c5be658e 100644 --- a/eng/testing/tests.wasm.targets +++ b/eng/testing/tests.wasm.targets @@ -303,12 +303,12 @@ - - + + - - + + diff --git a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props index b28a3a1673f196..9b7b8670f463ad 100644 --- a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props +++ b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props @@ -19,10 +19,10 @@ - + - + diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 9b8bb96aa847b8..1d0008ab7799f2 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -30,7 +30,7 @@ $(Scenario)- true - true + true @@ -53,7 +53,7 @@ true true - true + true true true @@ -76,7 +76,7 @@ - + @@ -89,7 +89,7 @@ - + @@ -183,7 +183,7 @@ - + @@ -196,8 +196,8 @@ <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)nodejsonly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJS'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)nodejsonly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJS'" /> %(Identity) @@ -209,7 +209,7 @@ <_WasmSampleZipFile Condition="'$(Scenario)' == 'normal' or '$(Scenario)' == ''" Include="$(TestArchiveRoot)runonly/**/*.Console.V8.*.Sample.zip" /> - <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" Include="$(TestArchiveRoot)runonly/**/*.Console.Node.*.Sample.zip" /> + <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnNodeJS'" Include="$(TestArchiveRoot)runonly/**/*.Console.Node.*.Sample.zip" /> <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnBrowser'" Include="$(TestArchiveRoot)runonly/**/*.Browser.*.Sample.zip" /> diff --git a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.cmd b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.cmd index d3c47af35c02ff..464d95e36c7ea9 100644 --- a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.cmd +++ b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.cmd @@ -34,7 +34,7 @@ if [%XHARNESS_COMMAND%] == [] ( if /I [%XHARNESS_COMMAND%] == [test] ( if [%JS_ENGINE%] == [] ( - if /I [%SCENARIO%] == [WasmTestOnNodeJs] ( + if /I [%SCENARIO%] == [WasmTestOnNodeJS] ( set "JS_ENGINE=--engine^=NodeJS" ) else ( set "JS_ENGINE=--engine^=V8" diff --git a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh index 0c3be485422f90..67ffeabba709ef 100644 --- a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh +++ b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh @@ -33,7 +33,7 @@ fi if [[ "$XHARNESS_COMMAND" == "test" ]]; then if [[ -z "$JS_ENGINE" ]]; then - if [[ "$SCENARIO" == "WasmTestOnNodeJs" || "$SCENARIO" == "wasmtestonnodejs" ]]; then + if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then JS_ENGINE="--engine=NodeJS" else JS_ENGINE="--engine=V8"