Skip to content

Commit c5a9c59

Browse files
authored
Print exit code when trim test fails (#48253)
1 parent ede4e0b commit c5a9c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/testing/linker/trimmingTests.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<Output TaskParameter="ExitCode" PropertyName="ExecutionExitCode" />
123123
</Exec>
124124

125-
<Error Condition="'$(ExecutionExitCode)' != '100'" Text="Error: [Failed Test]: %(TestConsoleApps.ProjectCompileItems). The Command %(TestConsoleApps.TestCommand) return a non-success exit code." ContinueOnError="ErrorAndContinue" />
125+
<Error Condition="'$(ExecutionExitCode)' != '100'" Text="Error: [Failed Test]: %(TestConsoleApps.ProjectCompileItems). The Command %(TestConsoleApps.TestCommand) returned a non-success exit code: $(ExecutionExitCode)." ContinueOnError="ErrorAndContinue" />
126126
</Target>
127127

128128
<Target Name="Test" DependsOnTargets="ExecuteApplications" />

0 commit comments

Comments
 (0)