To repro (windows)
.\build clr+libs -rc debug -c release -os browser
.\src\tests\build skipmanaged browser
;; put repo dotnet, nodejs in path
cd src\tests\Jit\CodeGenBringUpTests
dotnet msbuild /p:TargetArchitecture=wasm /p:TargetOS=browser /p:RuntimeFlavor=coreclr /p:BuildAsStandalone=true JIT.CodeGenBringUpTests_d.csproj
set CORE_ROOT=<REPO_ROOT>\artifacts\tests\coreclr\browser.wasm.debug\Tests\Core_Root
set RunCrossGen2=1
set DOTNET_ReadyToRunExcludeList=JIT.CodeGenBringUpTests_d
<REPO_ROOT>\artifacts\tests\coreclr\browser.wasm.Debug\JIT\CodeGenBringUpTests\JIT.CodeGenBringUpTests_d\JIT.CodeGenBringUpTests_d.cmd
Output will be something like
BEGIN EXECUTION
Running with node
CORE_ROOT: /repos/runtime5/artifacts/tests/coreclr/browser.wasm.debug/Tests/Core_Root
ExePath: /repos/runtime5/artifacts/tests/coreclr/browser.wasm.Debug/JIT/CodeGenBringUpTests/JIT.CodeGenBringUpTests_d/JIT.CodeGenBringUpTests_d.dll
CLRTestExecutionArguments:
Timeout in ms: 300000
Running: node --stack-size=8192 "c:\repos\runtime5\artifacts\tests\coreclr\browser.wasm.debug\Tests\Core_Root\corerun.js" -c "/repos/runtime5/artifacts/tests/coreclr/browser.wasm.debug/Tests/Core_Root" "/repos/runtime5/artifacts/tests/coreclr/browser.wasm.Debug/JIT/CodeGenBringUpTests/JIT.CodeGenBringUpTests_d/JIT.CodeGenBringUpTests_d.dll"
Type System.DateTime: expected alignment 0x00000004, actual 0x00000008
Assert failure(PID 42 [0x0000002a], Thread: 1 [0x0001]): Verify_TypeLayout 'System.DateTime' failed to verify type layout
File: C:/repos/runtime5/src/coreclr/vm/jitinterface.cpp:14378
Image: /
Aborted(native code called abort())
Expected: 100
Actual: 1
END EXECUTION - FAILED
FAILED
To repro (windows)
Output will be something like