-
Notifications
You must be signed in to change notification settings - Fork 383
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
Open
max-charlamb
wants to merge
57
commits into
dotnet:main
Choose a base branch
from
max-charlamb:organize_tests2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…es with build in them. Flags as duplicate params
… (NuGet.config, Version.props, and a debuggee Directory.Build.props+targets)
This was referenced Aug 29, 2025
steveisok
previously approved these changes
Aug 29, 2025
max-charlamb
commented
Aug 29, 2025
src/tests
src/tests
09d93a4
to
fa4a163
Compare
hoyosjs
reviewed
Oct 10, 2025
|
||
# 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.proj
traversal project that includes all main diagnostic tool projects and conditionally includes test projects, improving build orchestration and clarity.generate-slnx.ps1
script which generates an ephemeraldirs.slnx
file which can be opened in VS/VSCode.start-vs.cmd
script to automatically callgenerate-slnx.ps1
ifdirs.slnx
does not exist.Directory.Build.props
to setIsShipping
andIsPackable
tofalse
by 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.txt
to ensure that test projects are included in native builds.THIRD-PARTY-NOTICES.TXT
to point to the new location of theXunit.Extensions
code 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.txt
should be in the artifacts tree and drive when runtimes are installed on helix