-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
Description
The following tests are failing due to lack of Interop support on WASM:
- Interop/ICustomMarshaler/*
- Interop/NativeLibrary/*
- Interop/PInvoke/*
- Interop/UnmanagedCallersOnly/*
Configuration
- Get dotnet/runtime repo
- Remove the test(s) that you would like to reproduce from
<repo_root>/src/coreclr/tests/issues.targets - Build WASM:
./build.sh --os Browser --arch wasm --subset mono+libs -c Release - Build runtime tests:
cd src/coreclr/ && ./build-test.sh -skipstressdependencies -excludemonofailures os Browser wasm Release - To run all runtime tests, at the end of the runtime tests build log, there is "Example runtest.sh command". Use that command plus
wasm. For example, for me it was
./tests/runtest.sh --coreOverlayDir=/Users/fanyang/Documents/work/dotnet_naricc/runtime/artifacts/tests/coreclr/Browser.wasm.Release/Tests/Core_Root --testNativeBinDir=/Users/fanyang/Documents/work/dotnet_naricc/runtime/artifacts/obj/coreclr/Browser.wasm.Release/tests --testRootDir=/Users/fanyang/Documents/work/dotnet_naricc/runtime/artifacts/tests/coreclr/Browser.wasm.Release --copyNativeTestBin Release wasm - To run a single test, you could do
set CORE_ROOT=<repo_root>/artifacts/tests/coreclr/Browser.wasm.Release/Tests/Core_Root
<repo_root>/artifacts/tests/coreclr/Browser.wasm.Release/JIT/Methodical/switch/switch5/switch5.sh
Regression?
No. WASM is a new product.