2024-03-13 13:53:24 -07:00
|
|
|
<Project>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<UnifiedBuildValidationTestsDir>$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'test', 'Microsoft.DotNet.UnifiedBuild.Tests'))</UnifiedBuildValidationTestsDir>
|
2024-03-19 10:46:12 -07:00
|
|
|
<UnifiedBuildValidationTestsProject>$([MSBuild]::NormalizeDirectory('$(UnifiedBuildValidationTestsDir)', 'Microsoft.DotNet.UnifiedBuild.Tests'))</UnifiedBuildValidationTestsProject>
|
2024-03-13 13:53:24 -07:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2024-03-18 15:33:56 -07:00
|
|
|
<Target Name="RunUnifiedBuildValidation"
|
2024-03-19 10:46:12 -07:00
|
|
|
AfterTargets="Build"
|
|
|
|
DependsOnTargets="DetermineSourceBuiltSdkVersion">
|
2024-03-13 13:53:24 -07:00
|
|
|
|
|
|
|
<PropertyGroup>
|
2024-03-18 15:33:56 -07:00
|
|
|
<SdkTarballPath>%(SdkTarballItem.Identity)</SdkTarballPath>
|
2024-03-13 13:53:24 -07:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Exec Command="$(DotnetTool) test $(UnifiedBuildValidationTestsDir) --logger:trx -c $(Configuration) -p:VSTestUseMSBuildOutput=false"
|
|
|
|
IgnoreStandardErrorWarningFormat="true"
|
|
|
|
EnvironmentVariables="
|
2024-03-20 17:08:15 -07:00
|
|
|
UNIFIED_BUILD_VALIDATION_SDK_TARBALL_PATH=$(SdkTarballPath);
|
2024-03-13 13:53:24 -07:00
|
|
|
UNIFIED_BUILD_VALIDATION_TARGET_RID=$(TargetRid);
|
|
|
|
UNIFIED_BUILD_VALIDATION_PORTABLE_RID=$(PortableRid);
|
2024-03-20 17:08:15 -07:00
|
|
|
UNIFIED_BUILD_VALIDATION_BUILD_VERSION=$(SourceBuiltSdkVersion);
|
2024-03-13 13:53:24 -07:00
|
|
|
$(CustomTestEnvVars)" />
|
2024-03-18 15:33:56 -07:00
|
|
|
|
2024-03-13 13:53:24 -07:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
</Project>
|