Skip to content

Commit

Permalink
Fix missing test binlog (#45480)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer authored Dec 18, 2024
1 parent db1fc6e commit da71343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@
MoveDotNetBuildLogs;
CleanupRepo" />

<Target Name="Test">
<Target Name="RepoTest">
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Testing $(RepositoryName)" />
<Message Importance="High" Text="Running command:" />
<Message Importance="High" Text=" $(TestCommand)" />
Expand All @@ -757,6 +757,8 @@

<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Testing $(RepositoryName)...done" />
</Target>

<Target Name="Test" DependsOnTargets="RepoTest;MoveDotNetBuildLogs" />
<Target Name="VSTest" DependsOnTargets="Test" />

<UsingTask TaskName="Microsoft.DotNet.UnifiedBuild.Tasks.UsageReport.WritePackageUsageData" AssemblyFile="$(MicrosoftDotNetUnifiedBuildTasksAssembly)" TaskFactory="TaskHostFactory" />
Expand Down
2 changes: 1 addition & 1 deletion src/SourceBuild/content/repo-projects/scenario-tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<Target Name="PrepareScenarioTestsInputs"
DependsOnTargets="SetupNuGetConfig;DetermineSourceBuiltSdkVersion"
BeforeTargets="Test">
BeforeTargets="RepoTest">
<PropertyGroup>
<_CurrentDateTime>$([System.DateTime]::Now.ToString("yyyy-MM-dd_HH_mm_ss"))</_CurrentDateTime>
<_TestXmlOutputPath>$(ScenarioTestsResultsDir)$(_CurrentDateTime).xml</_TestXmlOutputPath>
Expand Down

0 comments on commit da71343

Please sign in to comment.