-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix .NET Framework test helix submission #44481
Conversation
/azp run |
1 similar comment
/azp run |
test/UnitTests.proj
Outdated
<SDKCustomXUnitProject Include=" | ||
core-sdk-tasks.Tests\core-sdk-tasks.Tests.csproj; | ||
Microsoft.DotNet.ApiCompat.IntegrationTests\Microsoft.DotNet.ApiCompat.IntegrationTests.csproj | ||
Microsoft.DotNet.ApiCompat.Tests\Microsoft.DotNet.ApiCompat.Tests.csproj; | ||
Microsoft.DotNet.ApiCompatibility.Tests\Microsoft.DotNet.ApiCompatibility.Tests.csproj; | ||
Microsoft.DotNet.ApiSymbolExtensions.Tests\Microsoft.DotNet.ApiSymbolExtensions.Tests.csproj; | ||
Microsoft.DotNet.MSBuildSdkResolver.Tests\Microsoft.DotNet.MSBuildSdkResolver.Tests.csproj; | ||
Microsoft.DotNet.PackageValidation.Tests\Microsoft.DotNet.PackageValidation.Tests.csproj; | ||
Microsoft.DotNet.TemplateLocator.Tests\Microsoft.DotNet.TemplateLocator.Tests.csproj; | ||
Microsoft.NET.Build.Containers.IntegrationTests\Microsoft.NET.Build.Containers.IntegrationTests.csproj; | ||
Microsoft.NET.Sdk.Publish.Tasks.Tests\Microsoft.NET.Sdk.Publish.Tasks.Tests.csproj; | ||
Microsoft.NET.Sdk.WorkloadManifestReader.Tests\Microsoft.NET.Sdk.WorkloadManifestReader.Tests.csproj; | ||
Microsoft.Win32.Msi.Tests\Microsoft.Win32.Msi.Tests.csproj" |
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.
Is this the only way to know which unit test projects apply to net472? A hardcoded list? Hmm. Just wish there was something a little cleaner and less brittle.
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.
Definitely not the only way. We don't have a hardcoded list in other repos but other repos don't really use the XUnitProject Arcade Helix SDK integration. This is already the status quo in main so I'm not going to change that in this PR. Filed #44490.
/azp run dotnet-sdk-public-ci,sdk-source-build,sdk-unified-build |
1 similar comment
/azp run dotnet-sdk-public-ci,sdk-source-build,sdk-unified-build |
Azure Pipelines successfully started running 3 pipeline(s). |
According to AzDO and a binlog from the NETFULLFRAMEWORK leg, .NET Framework tests don't run.
The
_AGENTOSNAME
property / env var doesn't exist anymore. This regressed between 9.0 P4 and P5: https://github.com/dotnet/sdk/blame/eaecfdeddb3e4c87f34a075e7b6892d0eab2a343/eng/build.yml#L47-L48Changes
_AGENTOSNAME
property with theTestFullMSBuild
property.Don't run .NETCoreApp tests in the NETFULLFRAMEWORK leg.I realized that they intentionally run as they are exercised with desktop msbuild which provides some usefulness.