mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-11 15:56: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")
|
$sb=[scriptblock]::Create("$using:Cmd")
|
||||||
#execute scriptblock
|
#execute scriptblock
|
||||||
|
Write-host "Test [$using:Name] job: $using:Cmd"
|
||||||
$Cond=&$sb
|
$Cond=&$sb
|
||||||
|
Write-host "Result[$using:Name]: $Cond"
|
||||||
|
|
||||||
if ($Cond -eq $null){
|
if ($Cond -eq $null){
|
||||||
} Else {
|
} Else {
|
||||||
|
@ -221,6 +223,7 @@ test_script:
|
||||||
$res=$true
|
$res=$true
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Write-host "Test [$Name] timeout" -ForegroundColor Red
|
||||||
Add-AppveyorTest -Name "$Name" -Framework NUnit -Filename "$File" -Outcome Failed -Duration 40000 -ErrorMessage "timeout"
|
Add-AppveyorTest -Name "$Name" -Framework NUnit -Filename "$File" -Outcome Failed -Duration 40000 -ErrorMessage "timeout"
|
||||||
}
|
}
|
||||||
Remove-Job -Force $Job
|
Remove-Job -Force $Job
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue