Skip to content
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

Make host tests use single copy of shared framework #100588

Merged

Conversation

elinor-fung
Copy link
Member

Hit some more test oddities while looking at #99027, so:

  • Only create one .NET install layout to be shared by all host tests
  • host.pretest subset
    • Add pretest.proj that builds all test project assets and creates the single .NET install layout
  • NativeHostApis tests
    • Fix tests that were editing the .NET install layout directly (instead of creating a copy to edit)
    • Remove some unnecessary copying/creating of SDKs and frameworks by sharing the fixture across tests
  • Update host testing doc with simpler setup instructions and more details around investigating test failures

cc @vitek-karas

Copy link
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

@elinor-fung elinor-fung merged commit 960849b into dotnet:main Apr 4, 2024
153 checks passed
@elinor-fung elinor-fung deleted the hostTests-singleSharedFramework branch April 4, 2024 22:08
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
- Only create one .NET install layout to be shared by all host tests
-  Add `pretest.proj` for `host.pretest` subset that builds all test project assets and creates the single .NET install layout
- Fix `NativeHostApis` tests that were editing the .NET install layout directly (instead of creating a copy to edit)
  - Remove some unnecessary copying/creating of SDKs and frameworks by sharing the fixture across tests
- Update host testing doc with simpler setup instructions and more details around investigating test failures
@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants