-
Couldn't load subscription status.
- Fork 381
Consolidate tests under src/tests #5554
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
base: main
Are you sure you want to change the base?
Conversation
…es with build in them. Flags as duplicate params
… (NuGet.config, Version.props, and a debuggee Directory.Build.props+targets)
src/tests
src/tests09d93a4 to
fa4a163
Compare
|
|
||
| # Determine local dotnet path (must exist) | ||
| $scriptRoot = Split-Path -Parent $MyInvocation.MyCommand.Path | ||
| $localDotNet = Join-Path $scriptRoot "../.dotnet" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the dotnet script - it guarantees that we download it if it's not there. It hadnles the bootstrap for you. It also handles the case where we don't need to download it if the user has it installed globally.
This pull request reorganizes and improves the project and build configuration, with a particular focus on test infrastructure and project structure. The changes streamline how test projects are referenced and built, clarify property settings for packaging and shipping, and update solution/project references to reflect a new directory structure for test assets.
Project and Build Configuration Improvements:
dirs.projtraversal project that includes all main diagnostic tool projects and conditionally includes test projects, improving build orchestration and clarity.generate-slnx.ps1script which generates an ephemeraldirs.slnxfile which can be opened in VS/VSCode.start-vs.cmdscript to automatically callgenerate-slnx.ps1ifdirs.slnxdoes not exist.Directory.Build.propsto setIsShippingandIsPackabletofalseby default, and suppress warnings about packing non-packable projects, ensuring that internal/test projects are not accidentally shipped or packed.Test Infrastructure and Project Structure:
add_subdirectory(tests)toCMakeLists.txtto ensure that test projects are included in native builds.THIRD-PARTY-NOTICES.TXTto point to the new location of theXunit.Extensionscode undertests/Microsoft.Diagnostics.TestHelpers, reflecting the directory reorganization.edited version of Move tests and test debuggees to repo root 'tests' directory #5469** Follow-up Items**
Debugger.Tests.Versions.txtshould be in the artifacts tree and drive when runtimes are installed on helix