|
245 | 245 | <Error Condition="'$(Scenario)' != 'WasmTestOnV8' and |
246 | 246 | '$(Scenario)' != 'WasmTestOnChrome' and |
247 | 247 | '$(Scenario)' != 'WasmTestOnFirefox' and |
248 | | - '$(Scenario)' != 'WasmTestOnNodeJS' and |
249 | 248 | '$(Scenario)' != 'WasmDebuggerTests' and |
250 | 249 | '$(Scenario)' != 'BuildWasmApps'" |
251 | | - Text="Only supported scenarios are WasmTestOnV8, WasmTestOnNodeJS, WasmTestOnChrome, WasmTestOnFirefox, WasmDebuggerTests and BuildWasmApps at the moment. It was $(Scenario)." /> |
| 250 | + Text="Only supported scenarios are WasmTestOnV8, WasmTestOnChrome, WasmTestOnFirefox, WasmDebuggerTests and BuildWasmApps at the moment. It was $(Scenario)." /> |
252 | 251 |
|
253 | 252 | <!-- Restore NPM packages --> |
254 | 253 | <ItemGroup Condition="'$(OS)' != 'Windows_NT'"> |
255 | | - <SetScriptCommands Include="if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then export WasmXHarnessMonoArgs="$WasmXHarnessMonoArgs --setenv=NPM_MODULES=$(NodeNpmModuleString)"; fi" /> |
256 | | - <RunScriptCommands Include="if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then npm ci; fi" /> |
257 | | - |
258 | 254 | <SetScriptCommands Condition="'$(InstallChromeForTests)' == 'true' and '$(ChromeDriverBinaryPath)' != ''" Include="export PREPEND_PATH=$([System.IO.Path]::GetDirectoryName($(ChromeDriverBinaryPath)))" /> |
259 | 255 | <SetScriptCommands Condition="'$(InstallFirefoxForTests)' == 'true' and '$(GeckoDriverBinaryPath)' != ''" Include="export PREPEND_PATH=$([System.IO.Path]::GetDirectoryName($(GeckoDriverBinaryPath)))" /> |
260 | 256 | <SetScriptCommands Condition="'$(IsBrowserWasmProject)' == 'true'" Include="export RuntimeIdentifier=browser-wasm" /> |
261 | 257 | </ItemGroup> |
262 | 258 | <ItemGroup Condition="'$(OS)' == 'Windows_NT'"> |
263 | | - <SetScriptCommands Include="if /I [%SCENARIO%]==[WasmTestOnNodeJS] ( set "WasmXHarnessMonoArgs=%WasmXHarnessMonoArgs% --setenv=NPM_MODULES^=$(NodeNpmModuleString)" )" /> |
264 | | - <RunScriptCommands Include="if /I [%SCENARIO%]==[WasmTestOnNodeJS] ( call npm ci )" /> |
265 | | - |
266 | 259 | <SetScriptCommands Condition="'$(InstallChromeForTests)' == 'true' and '$(ChromeDriverBinaryPath)' != ''" Include="set PREPEND_PATH=$([System.IO.Path]::GetDirectoryName($(ChromeDriverBinaryPath)))" /> |
267 | 260 | <SetScriptCommands Condition="'$(InstallFirefoxForTests)' == 'true' and '$(GeckoDriverBinaryPath)' != ''" Include="set PREPEND_PATH=$([System.IO.Path]::GetDirectoryName($(GeckoDriverBinaryPath)))" /> |
268 | 261 | <SetScriptCommands Condition="'$(IsBrowserWasmProject)' == 'true'" Include="set RuntimeIdentifier=browser-wasm" /> |
|
0 commit comments