Merge pull request #529 from merlokk/appveyor-tst

added crypto tests to Appveyor
This commit is contained in:
Iceman 2017-12-25 15:13:46 +01:00 committed by GitHub
commit dfdc087bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,8 +232,8 @@ test_script:
#--- end Job #--- end Job
[bool]$res=$false [bool]$res=$false
# Wait 40 sec timeout for Job # Wait 120 sec timeout for Job
if(Wait-Job $Job -Timeout 40){ if(Wait-Job $Job -Timeout 120){
$Results = $Job | Receive-Job $Results = $Job | Receive-Job
if($Results -like "true"){ if($Results -like "true"){
$res=$true $res=$true
@ -278,6 +278,11 @@ test_script:
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:"
#proxmark crypto tests
ExecTest "hf emv test" "hf emv test" {bash -lc "cd ~/client;proxmark3 comx -c 'hf emv test'"} "Tests ?OK"
if ($global:TestsPassed) { if ($global:TestsPassed) {
Write-Host "Tests [ OK ]" -ForegroundColor Green Write-Host "Tests [ OK ]" -ForegroundColor Green
} else { } else {