mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-31 04:20:28 +08:00
chg: colors (@merlokk)
This commit is contained in:
parent
27569dbc26
commit
b5908ec810
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,6 @@ test_script:
|
|||
#execute scriptblock
|
||||
Write-host "Test [$using:Name] job: $using:Cmd"
|
||||
$Cond=&$sb
|
||||
Write-host "Result[$using:Name]: $Cond"
|
||||
|
||||
if ($Cond -eq $null){
|
||||
} Else {
|
||||
|
@ -206,8 +205,10 @@ test_script:
|
|||
}
|
||||
|
||||
If ($res) {
|
||||
Write-host "Result[$using:Name]: $Cond" -ForegroundColor Green
|
||||
Add-AppveyorTest -Name "$using:Name" -Framework NUnit -Filename "$using:File" -Outcome Passed -Duration "$([System.Environment]::TickCount-$TestTime)"
|
||||
}Else {
|
||||
Write-host "Result[$using:Name]: $Cond" -ForegroundColor Red
|
||||
Add-AppveyorTest -Name "$using:Name" -Framework NUnit -Filename "$using:File" -Outcome Failed -Duration "$([System.Environment]::TickCount-$TestTime)" -ErrorMessage "command:$using:Cmd`nresult:$Cond"
|
||||
}
|
||||
return $res
|
||||
|
|
Loading…
Reference in a new issue