File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ function RunTestTasks($tasks) {
167167 $testName = $tasks [$bgJobs .$finished ].name
168168 Write-Host
169169 if ($finished.State -eq ' Failed' ) {
170- Write-Host " $testName failed"
170+ Write-Host - ForegroundColor Red " $testName failed"
171171 $global :Result = $finished.ChildJobs [0 ].JobStateInfo.Reason.ErrorRecord.TargetObject
172172 $failedTests += $testName
173173 } else {
@@ -184,7 +184,7 @@ function RunTestTasks($tasks) {
184184 Write-Host " $ ( $bgJobs.Count ) jobs running: $ ( ($bgJobs.values | ForEach-Object {$tasks [$_ ].name}) -Join " , " ) "
185185 Write-Host " $ ( $tasks.Count - $nextJob ) jobs pending: $ ( ($nextJob .. $tasks.Count | ForEach-Object {$tasks [$_ ].name}) -Join " , " ) "
186186 if ($failedTests ) {
187- Write-Host " $ ( $failedTests.Count ) jobs failed: $ ( $failedTests -Join " , " ) "
187+ Write-Host - ForegroundColor Red " $ ( $failedTests.Count ) jobs failed: $ ( $failedTests -Join " , " ) "
188188 }
189189 Write-Host
190190 }
You can’t perform that action at this time.
0 commit comments