-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WASM runtime test infrastucture] Environment variable is not set: 'CORE_ROOT' #41520
Comments
Tagging subscribers to this area: @directhex |
It looks like this test explicitly copies an .il file, and then uses CORE_ROOT to find it. I think changing the tests to copy everything in the test output directory to the wasm file system, and then explicitly propgating the CORE_ROOT variable (with --setenv=VAR=VALUE ) should work. I'm not sure if this constitutes a wider pattern in the tests and will fix more than just this one. Any idea if that would be the case @trylek? |
I tried a full-text query over all *.cs and *.il source files under src/tests in the runtime repo and that yielded just 36 references to |
Low priority, moving to 7.0 |
@naricc - I believe this can be closed ? |
My attempt to remove the exclusion of this issue (#75363) in issues.targets apparently made this repro again. I got these logs: |
This issue, along with the other references to |
Description
Tests failed with
Environment variable is not set: 'CORE_ROOT'
.Configuration
<repo_root>/src/coreclr/tests/issues.targets
./build.sh --os Browser --arch wasm --subset mono+libs -c Release
cd src/coreclr/ && ./build-test.sh -skipstressdependencies -excludemonofailures os Browser wasm Release
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
The text was updated successfully, but these errors were encountered: