-
Notifications
You must be signed in to change notification settings - Fork 13
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
Refactor host rid tests. #303
Conversation
Extend host-probes-rid-assets and add a variant that uses the legacy graph for probing with .NET 8+. Remove the runtime-fallback-graph test in favor of these tests.
Looks like the test runner doesn't patch |
I'll look into changing the test runner for this. |
Rather than extending the patching of csproj files, I've made a PR that makes available the target framework from the test runner as an envvar: redhat-developer/dotnet-bunny#84. It can then be used in the project files as:
A default value for the property is set in |
Hm, any reason why we can't go further and just set an |
To avoid setting a property that is understood by the SDK which can cause it to behave different. |
CI says portable RIDs are being computed incorrectly:
|
Okay. I ask because we override TargetFramework directly in existing .csproj files. I would have thought that has a similar set of concerns. I am also a bit hesitant about two different approaches to setting TargetFramework in .csproj files - overriding some and relying on environment variables for others. Anyway, if you like this approach we can go ahead with it. |
oops... fixed it.
The difference is that we're replacing the value only when the project already has a TargetFramework. If we'd set an envvar, it would be implied for all projects.
I think we should consider applying this to all tests. |
Close and re-open to trigger a CI run with the updated testrunner. |
The test is failing on Alpine 6.0 and 7.0:
The log shows it fails to load
It may have to do with the
On the I'm going to configure the test to skip on Alpine. cc @ayakael |
Extend host-probes-rid-assets and add a variant that uses the legacy graph for probing with .NET 8+.
Remove the runtime-fallback-graph test in favor of these tests.