mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: increased appveyor test timeouts from 40s -> 60s
This commit is contained in:
parent
76fc2cbc2b
commit
a1ee3617b7
1 changed files with 3 additions and 5 deletions
|
@ -232,15 +232,15 @@ test_script:
|
||||||
#--- end Job
|
#--- end Job
|
||||||
|
|
||||||
[bool]$res=$false
|
[bool]$res=$false
|
||||||
# Wait 40 sec timeout for Job
|
# Wait 60 sec timeout for Job
|
||||||
if(Wait-Job $Job -Timeout 40){
|
if(Wait-Job $Job -Timeout 60){
|
||||||
$Results = $Job | Receive-Job
|
$Results = $Job | Receive-Job
|
||||||
if($Results -like "true"){
|
if($Results -like "true"){
|
||||||
$res=$true
|
$res=$true
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Write-host "Test [$Name] timeout" -ForegroundColor Red
|
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 60000 -ErrorMessage "timeout"
|
||||||
}
|
}
|
||||||
Remove-Job -Force $Job
|
Remove-Job -Force $Job
|
||||||
|
|
||||||
|
@ -272,12 +272,10 @@ test_script:
|
||||||
|
|
||||||
ExecTest "proxmark help hardnested" "proxmark3 -h" {bash -lc 'cd ~/client;proxmark3 -h | grep -q hardnested && echo Passed || echo Failed'}
|
ExecTest "proxmark help hardnested" "proxmark3 -h" {bash -lc 'cd ~/client;proxmark3 -h | grep -q hardnested && echo Passed || echo Failed'}
|
||||||
|
|
||||||
|
|
||||||
ExecTest "hf mf offline text" "hf mf" {bash -lc "cd ~/client;proxmark3 comx -c 'hf mf'"} "at_enc"
|
ExecTest "hf mf offline text" "hf mf" {bash -lc "cd ~/client;proxmark3 comx -c 'hf mf'"} "at_enc"
|
||||||
|
|
||||||
ExecTest "hf mf hardnested" "hf mf hardnested" {bash -lc "cd ~/client;proxmark3 comx -c 'hf mf hardnested t 1 000000000000'"} "found:"
|
ExecTest "hf mf hardnested" "hf mf hardnested" {bash -lc "cd ~/client;proxmark3 comx -c 'hf mf hardnested t 1 000000000000'"} "found:"
|
||||||
|
|
||||||
|
|
||||||
if ($global:TestsPassed) {
|
if ($global:TestsPassed) {
|
||||||
Write-Host "Tests [ OK ]" -ForegroundColor Green
|
Write-Host "Tests [ OK ]" -ForegroundColor Green
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue