mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Test
This commit is contained in:
parent
afe63161b3
commit
afe04ba222
1 changed files with 2 additions and 13 deletions
15
appveyor.yml
15
appveyor.yml
|
@ -52,8 +52,6 @@ clone_script:
|
||||||
Write-Host "[ OK ]" -ForegroundColor Green
|
Write-Host "[ OK ]" -ForegroundColor Green
|
||||||
}
|
}
|
||||||
|
|
||||||
$env:wsl_install_running = true
|
|
||||||
|
|
||||||
$WSLjob = Start-Job -Name WSLInstall -ScriptBlock {
|
$WSLjob = Start-Job -Name WSLInstall -ScriptBlock {
|
||||||
Function WSLExec($Text, $Cmd) {
|
Function WSLExec($Text, $Cmd) {
|
||||||
Write-Host "$Text"
|
Write-Host "$Text"
|
||||||
|
@ -69,7 +67,6 @@ clone_script:
|
||||||
WSLExec "WSL install..." "sudo apt-get -y install --reinstall --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev qtbase5-dev cmake 1>/dev/null"
|
WSLExec "WSL install..." "sudo apt-get -y install --reinstall --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev qtbase5-dev cmake 1>/dev/null"
|
||||||
WSLExec "WSL QT fix..." "sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5"
|
WSLExec "WSL QT fix..." "sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5"
|
||||||
Add-AppveyorMessage -Message "WSL setup took $(([System.Environment]::TickCount-$WSLInstallTime) / 1000) sec" -Category Information
|
Add-AppveyorMessage -Message "WSL setup took $(([System.Environment]::TickCount-$WSLInstallTime) / 1000) sec" -Category Information
|
||||||
$env:wsl_install_running = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$env:PSInstallTime=[System.Environment]::TickCount
|
$env:PSInstallTime=[System.Environment]::TickCount
|
||||||
|
@ -237,13 +234,7 @@ build_script:
|
||||||
}
|
}
|
||||||
|
|
||||||
#WSL: wait for installation to finish
|
#WSL: wait for installation to finish
|
||||||
if($env:wsl_install_running){
|
Receive-Job -Wait -Job $input -ErrorAction SilentlyContinue
|
||||||
Write-Host "Waiting for WSL installation to finish..." -NoNewLine
|
|
||||||
while($env:wsl_install_running) {
|
|
||||||
Start-Sleep -s 5
|
|
||||||
}
|
|
||||||
Write-Host "$Name [ OK ]" -ForegroundColor Green
|
|
||||||
}
|
|
||||||
|
|
||||||
Add-AppveyorMessage -Message "WSL start: $env:wsl_install_running" -Category Information
|
Add-AppveyorMessage -Message "WSL start: $env:wsl_install_running" -Category Information
|
||||||
|
|
||||||
|
@ -273,7 +264,7 @@ build_script:
|
||||||
Write-Host "---------- WSL cmake tests ----------" -ForegroundColor Yellow
|
Write-Host "---------- WSL cmake tests ----------" -ForegroundColor Yellow
|
||||||
ExecWSLCmd './tools/pm3_tests.sh --clientbin client/build/proxmark3 client'
|
ExecWSLCmd './tools/pm3_tests.sh --clientbin client/build/proxmark3 client'
|
||||||
ExecCheck "WSL cmake Tests"
|
ExecCheck "WSL cmake Tests"
|
||||||
}
|
} -InputObject Get-Job -Name WSLInstall
|
||||||
|
|
||||||
#ProxSpace
|
#ProxSpace
|
||||||
|
|
||||||
|
@ -331,8 +322,6 @@ build_script:
|
||||||
|
|
||||||
ExecCheck "PS cmake Tests"
|
ExecCheck "PS cmake Tests"
|
||||||
|
|
||||||
Receive-Job -Wait -Name WSLInstall -ErrorAction SilentlyContinue
|
|
||||||
|
|
||||||
Receive-Job -Wait -Job $WSLjob
|
Receive-Job -Wait -Job $WSLjob
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue