|
489 | 489 | <HelixCorrelationPayload Include="chromedriver" Uri="$(ChromeDriverUrl)" Condition="'$(NeedsToRunOnBrowser)' == 'true'" /> |
490 | 490 |
|
491 | 491 | <_WorkItem Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> |
492 | | - <_WorkItem Include="$(TestArchiveRoot)runonly/**/WebAssembly.Console.*.Test.zip" Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' != 'WasmTestOnBrowser' and '$(Scenario)' != 'BuildWasmApps'" /> |
| 492 | + <_WorkItem Include="$(TestArchiveRoot)runonly/**/WebAssembly.Console.*.Test.zip" Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' != 'WasmTestOnBrowser' and '$(Scenario)' != 'BuildWasmApps' and '$(Scenario)' != 'WasmDebuggerTests'" /> |
493 | 493 | <_WorkItem Include="$(TestArchiveRoot)runonly/**/WebAssembly.Browser.*.Test.zip" Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' == 'WasmTestOnBrowser'" /> |
494 | 494 | <_WorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' == 'WasmTestOnBrowser'" /> |
495 | 495 |
|
|
542 | 542 | <XHarnessCommand>%XHARNESS_COMMAND%</XHarnessCommand> |
543 | 543 | </PropertyGroup> |
544 | 544 |
|
545 | | - <ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' != 'WasmTestOnBrowser' and '$(Scenario)' != 'WasmTestOnNodeJs' and '$(Scenario)' != 'BuildWasmApps' and '$(Scenario)' != 'WasmDebuggerTests'"> |
546 | | - <!-- Create a work item for run-only WASM console app --> |
547 | | - <_RunOnlyWorkItem Include="$(TestArchiveRoot)runonly/**/*.Console.Sample.zip" /> |
548 | | - <HelixWorkItem Include="@(_RunOnlyWorkItem -> '%(FileName)')" > |
| 545 | + <!-- Create a work item for run-only WASM console V8 apps --> |
| 546 | + <ItemGroup Condition="'$(TargetOS)' == 'Browser' and ('$(Scenario)' == 'normal' or '$(Scenario)' == '')"> |
| 547 | + <_RunOnlyWorkItemCJS Include="$(TestArchiveRoot)runonly/**/*.Console.V8.CJS.Sample.zip" /> |
| 548 | + <HelixWorkItem Include="@(_RunOnlyWorkItemCJS -> '%(FileName)')"> |
549 | 549 | <PayloadArchive>%(Identity)</PayloadArchive> |
550 | 550 | <!-- No RunTests script generated for the sample project so we just use the direct command --> |
551 | | - <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --engine=V8 --engine-arg=--stack-trace-limit=1000 --js-file=test-main.js --output-directory=$(XHarnessOutput) -- --run %(FileName).dll</Command> |
| 551 | + <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --engine=V8 --engine-arg=--stack-trace-limit=1000 --js-file=main.cjs --output-directory=$(XHarnessOutput) -- --run %(FileName).dll</Command> |
| 552 | + </HelixWorkItem> |
| 553 | + <_RunOnlyWorkItemES6 Include="$(TestArchiveRoot)runonly/**/*.Console.V8.ES6.Sample.zip" /> |
| 554 | + <HelixWorkItem Include="@(_RunOnlyWorkItemES6 -> '%(FileName)')"> |
| 555 | + <PayloadArchive>%(Identity)</PayloadArchive> |
| 556 | + <!-- No RunTests script generated for the sample project so we just use the direct command --> |
| 557 | + <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --engine=V8 --engine-arg=--stack-trace-limit=1000 --js-file=v8shim.cjs --output-directory=$(XHarnessOutput) -- --run %(FileName).dll</Command> |
552 | 558 | </HelixWorkItem> |
553 | 559 | </ItemGroup> |
554 | 560 |
|
| 561 | + <!-- Create a work item for run-only WASM console NodeJs apps --> |
| 562 | + <ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' == 'WasmTestOnNodeJs'"> |
| 563 | + <_RunOnlyWorkItemCJS Include="$(TestArchiveRoot)runonly/**/*.Console.Node.CJS.Sample.zip" /> |
| 564 | + <HelixWorkItem Include="@(_RunOnlyWorkItemCJS -> '%(FileName)')"> |
| 565 | + <PayloadArchive>%(Identity)</PayloadArchive> |
| 566 | + <!-- No RunTests script generated for the sample project so we just use the direct command --> |
| 567 | + <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --engine=NodeJS --engine-arg=--stack-trace-limit=1000 --js-file=main.cjs --output-directory=$(XHarnessOutput) -- --run %(FileName).dll</Command> |
| 568 | + </HelixWorkItem> |
| 569 | + <_RunOnlyWorkItemES6 Include="$(TestArchiveRoot)runonly/**/*.Console.Node.ES6.Sample.zip" /> |
| 570 | + <HelixWorkItem Include="@(_RunOnlyWorkItemES6 -> '%(FileName)')"> |
| 571 | + <PayloadArchive>%(Identity)</PayloadArchive> |
| 572 | + <!-- No RunTests script generated for the sample project so we just use the direct command --> |
| 573 | + <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --engine=NodeJS --engine-arg=--stack-trace-limit=1000 --js-file=main.mjs --output-directory=$(XHarnessOutput) -- --run %(FileName).dll</Command> |
| 574 | + </HelixWorkItem> |
| 575 | + </ItemGroup> |
| 576 | + |
| 577 | + <!-- Create a work items for run-only WASM browser apps --> |
555 | 578 | <ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' == 'WasmTestOnBrowser'"> |
556 | | - <!-- Create a work item for run-only WASM browser app --> |
557 | | - <_RunOnlyWorkItem Include="$(TestArchiveRoot)runonly/**/*.Browser.Sample.zip" /> |
558 | | - <HelixWorkItem Include="@(_RunOnlyWorkItem -> '%(FileName)')" > |
| 579 | + <_RunOnlyWorkItemCJS Include="$(TestArchiveRoot)runonly/**/*.Browser.CJS.Sample.zip" /> |
| 580 | + <HelixWorkItem Include="@(_RunOnlyWorkItemCJS -> '%(FileName)')" > |
| 581 | + <PayloadArchive>%(Identity)</PayloadArchive> |
| 582 | + <!-- No RunTests script generated for the sample project so we just use the direct command --> |
| 583 | + <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --browser=Chrome $(XHarnessBrowserPathArg) --html-file=index.html --output-directory=$(XHarnessOutput) -- %(FileName).dll</Command> |
| 584 | + </HelixWorkItem> |
| 585 | + <_RunOnlyWorkItemES6 Include="$(TestArchiveRoot)runonly/**/*.Browser.ES6.Sample.zip" /> |
| 586 | + <HelixWorkItem Include="@(_RunOnlyWorkItemES6 -> '%(FileName)')" > |
559 | 587 | <PayloadArchive>%(Identity)</PayloadArchive> |
560 | 588 | <!-- No RunTests script generated for the sample project so we just use the direct command --> |
561 | 589 | <Command>$(ExecXHarnessCmd) wasm $(XHarnessCommand) --app=. --browser=Chrome $(XHarnessBrowserPathArg) --html-file=index.html --output-directory=$(XHarnessOutput) -- %(FileName).dll</Command> |
|
0 commit comments