Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
- исправляю ошибку вывода информации о состоянии теста на AppVeyor (I…
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed Jun 8, 2018
1 parent a596a4a commit d4422d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ITG.MakeUtils/appveyor.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ testPlatformWrapper = \
$$$$testScriptStdOutput = $$$$testScriptOutput | ? { $$$$_ -isnot [System.Management.Automation.ErrorRecord] } | Out-String; \
$$$$testScriptStdError = $$$$testScriptOutput | ? { $$$$_ -is [System.Management.Automation.ErrorRecord] } | Out-String; \
if ( $$$$Passed ) { \
$(APPVEYORTOOL) UpdateTest -Name "$1" -Duration "$$$$($$$$sw.Elapsed)" -Framework "MSTest" -FileName "" -Outcome Passed -StdOut "$$$$testScriptStdOutput"; \
$(APPVEYORTOOL) UpdateTest -Name "$1" -Duration `"$$$$($$$$sw.Elapsed)`" -Framework "MSTest" -FileName `"`" -Outcome Passed -StdOut `"$$$$testScriptStdOutput`"; \
$(call testPlatformSetStatus,$1,'Passed',$$$$($$$$sw.Elapsed)); \
} else { \
$(APPVEYORTOOL) UpdateTest -Name "$1" -Duration "$$$$($$$$sw.Elapsed)" -Framework "MSTest" -FileName "" -Outcome Failed -StdOut "$$$$testScriptStdOutput" -StdErr "$$$$testScriptStdError"; \
$(APPVEYORTOOL) UpdateTest -Name "$1" -Duration `"$$$$($$$$sw.Elapsed)`" -Framework "MSTest" -FileName `"`" -Outcome Failed -StdOut `"$$$$testScriptStdOutput`" -StdErr `"$$$$testScriptStdError`"; \
$(call testPlatformSetStatus,$1,'Failed',$$$$($$$$sw.Elapsed)); \
}; \
$$$$ErrorActionPreference = $$$$CurrentErrorActionPreference; \
Expand Down

0 comments on commit d4422d6

Please sign in to comment.