diff --git a/src/installer/tests/Directory.Build.targets b/src/installer/tests/Directory.Build.targets index 1b67f39858772..7c7c54b416a5a 100644 --- a/src/installer/tests/Directory.Build.targets +++ b/src/installer/tests/Directory.Build.targets @@ -6,6 +6,8 @@ + + + + + $(TargetArchitecture) + $(BUILD_BUILDNUMBER) + default + $(Configuration) + test/host + + true + sdk + + + + + + + + + + + + + + + + + + + + <_HelixPreCommands Include="set TEST_ASSETS_OUTPUT=%HELIX_CORRELATION_PAYLOAD%\test_assets" /> + <_HelixPreCommands Include="set TEST_ARTIFACTS=%HELIX_WORKITEM_ROOT%\test_artifacts" /> + + + <_HelixPreCommands Include="export TEST_ASSETS_OUTPUT=$HELIX_CORRELATION_PAYLOAD/test_assets" /> + <_HelixPreCommands Include="export TEST_ARTIFACTS=$HELIX_WORKITEM_ROOT/test_artifacts" /> + + + + + + + + + + + + + dotnet test $([System.IO.Path]::GetFileName($(_TargetPath))) $(TestRunnerAdditionalArguments) + $(_PayloadDirectory) + + + + + + + + %(HostTestProject.PayloadDirectory) + %(HostTestProject.Command) + @(_HelixPreCommands) + + + + +