Open t-mustafin opened 6 months ago
Please don't use the BuildAsStandalone=true
environment variable nowadays. That's no longer a supported testing scenario.
Please set BuildAllTestsAsStandalone=true
environment variable instead to get into a supported scenario.
CC @dotnet/samsung
Please don't use the
BuildAsStandalone=true
environment variable nowadays. That's no longer a supported testing scenario.Please set
BuildAllTestsAsStandalone=true
environment variable instead to get into a supported scenario.
Thanks, with updated BuildAllTestsAsStandalone=true
test behavior is the same, returns 100 even if some tests fails.
It looks like even with BuildAllTestsAsStandalone=true
, it's still building using the "merged runner" model that emits a test results file instead of standalone. Not sure why (might need to delete the test bin/obj artifacts when switching between these settings?).
For the merged runner model, it's expected that the runner will return "success", as returning otherwise indicates a failure in the test harness itself, not in a test, in our distributed testing system.
Can you try doing a clean rebuild of the tests and see if this reproduces?
Can you try doing a clean rebuild of the tests and see if this reproduces?
The check I made above included rm -rf artifacts
before rebuild tests.
For the merged runner model, it's expected that the runner will return "success", as returning otherwise indicates a failure in the test harness itself, not in a test, in our distributed testing system.
It means that test launcher need to parse log of merged Interop.dll
instead of simple check of return value.
Tagging subscribers to this area: @dotnet/interop-contrib See info in area-owners.md if you want to be subscribed.
Test Interop/Interop/Interop.dll returns 100 even if problems exist. ./Interop/Interop/Interop.dll was implemented by https://github.com/dotnet/runtime/pull/94109. @jkoritzinsky, please take a look.
Test suite for this launch was built with
BuildAsStandalone=true
environment variable.Full Interop.dll launch log: Interop_false_positive_log.txt
Runtime and tests state: main branch, 23may 7284f17efe5f1ad7382f65ef3276ac89d594d3d3
cc @gbalykov @clamp03