Skip to content

Commit 026da9e

Browse files
committed
FIXUP: Try xUnit's built-in AppVeyor logger
1 parent c0bf13a commit 026da9e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.build.ps1

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,9 @@ task Build {
128128
}
129129

130130
task Test -If { !$script:IsUnix } {
131-
$testParams = @{}
132-
if ($env:APPVEYOR -ne $null) {
133-
$testParams = @{"l" = "Appveyor"}
134-
}
135-
136-
exec { & $script:dotnetExe test -c $Configuration @testParams .\test\PowerShellEditorServices.Test\PowerShellEditorServices.Test.csproj }
137-
exec { & $script:dotnetExe test -c $Configuration @testParams .\test\PowerShellEditorServices.Test.Protocol\PowerShellEditorServices.Test.Protocol.csproj }
138-
exec { & $script:dotnetExe test -c $Configuration @testParams .\test\PowerShellEditorServices.Test.Host\PowerShellEditorServices.Test.Host.csproj }
131+
exec { & $script:dotnetExe test -c $Configuration .\test\PowerShellEditorServices.Test\PowerShellEditorServices.Test.csproj }
132+
exec { & $script:dotnetExe test -c $Configuration .\test\PowerShellEditorServices.Test.Protocol\PowerShellEditorServices.Test.Protocol.csproj }
133+
exec { & $script:dotnetExe test -c $Configuration .\test\PowerShellEditorServices.Test.Host\PowerShellEditorServices.Test.Host.csproj }
139134
}
140135

141136
task LayoutModule -After Build, BuildHost {
@@ -185,7 +180,7 @@ task UploadTestLogs -After Test -If ($script:IsCIBuild) {
185180
Push-AppveyorArtifact $testLogsZipPath
186181
}
187182
else {
188-
Write-Host "### WARNING: Test logs could not be found!" -ForegroundColor Yellow
183+
Write-Host "`n### WARNING: Test logs could not be found!`n" -ForegroundColor Yellow
189184
}
190185
}
191186

0 commit comments

Comments
 (0)