You should now be able to run the functional tests locally the same way as running the libraries tests.
Example:
`./dotnet.sh build /t:Test src/tests/FunctionalTests/wasm/Interpreter/console/ /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=Release`
Co-authored-by: Steve Pfister <[email protected]>
Co-authored-by: Maxim Lipnin <[email protected]>
* Fix wrong XHARNESS_CLI_COMMAND in wasm README
The variable is actually `XHARNESS_CLI_PATH`. Also added it to the AppleRunnerTemplate.sh script since it was missing there.
* Add note about usage for Android/AppleRunnerTemplate.sh scripts
Also simplify the iOS/Android scripts a bit.
This uses the SDK to publish tests as self contained apps before building the app bundle using the built runtime pack.
I moved the `RunTests.sh` output path to `BundleDir` as whenever we start sending to helix, there is no need to .zip up the whole `OutDir` as we can just send the bundle + `RunTests.sh` script.
Integrate Android into the "Test" workflow, e.g.:
```
./build.sh -os Android -arch arm64 -subset Mono+Libs
cd src/libraries/System.Buffers/tests
dotnet build /p:TargetOS=Android /p:TargetArchitecture=arm64 /t:Test
```
^ should run tests for any test suite on an active device or emulator.