mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-11 07:46:09 -07:00
added write-host for tests
This commit is contained in:
parent
9764d3ea0e
commit
b5381d70dc
1 changed files with 3 additions and 0 deletions
|
@ -187,7 +187,9 @@ test_script:
|
|||
|
||||
$sb=[scriptblock]::Create("$using:Cmd")
|
||||
#execute scriptblock
|
||||
Write-host "Test [$using:Name] job: $using:Cmd"
|
||||
$Cond=&$sb
|
||||
Write-host "Result[$using:Name]: $Cond"
|
||||
|
||||
if ($Cond -eq $null){
|
||||
} Else {
|
||||
|
@ -221,6 +223,7 @@ test_script:
|
|||
$res=$true
|
||||
}
|
||||
} else {
|
||||
Write-host "Test [$Name] timeout" -ForegroundColor Red
|
||||
Add-AppveyorTest -Name "$Name" -Framework NUnit -Filename "$File" -Outcome Failed -Duration 40000 -ErrorMessage "timeout"
|
||||
}
|
||||
Remove-Job -Force $Job
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue