mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
parent
456cc66a15
commit
5787f07617
1 changed files with 8 additions and 13 deletions
21
appveyor.yml
21
appveyor.yml
|
@ -236,26 +236,21 @@ build_script:
|
||||||
|
|
||||||
bash -c -i 'make clean'
|
bash -c -i 'make clean'
|
||||||
|
|
||||||
#Write-Host "---------- cmake ----------" -ForegroundColor Yellow
|
Write-Host "---------- cmake ----------" -ForegroundColor Yellow
|
||||||
|
|
||||||
#$TestTime=[System.Environment]::TickCount
|
$TestTime=[System.Environment]::TickCount
|
||||||
|
|
||||||
#$script='C:\ProxSpace\msys2\msys2_shell.cmd -mingw32 -defterm -no-start -c "mkdir -p client/build; cd client/build; pwd; cmake -G`"MSYS Makefiles`" ..; ls; make VERBOSE=1;"'
|
cmd.exe /c 'C:\ProxSpace\msys2\msys2_shell.cmd -mingw32 -defterm -no-start -c "mkdir -p client/build; cd client/build; cmake -G""MSYS Makefiles"" ..; make VERBOSE=1;"'
|
||||||
|
|
||||||
#$script="$script"
|
Write-Host "---------- cmake tests ----------" -ForegroundColor Yellow
|
||||||
|
|
||||||
#$scriptblk=[scriptblock]::Create("$script")
|
cd c:\ProxSpace\pm3
|
||||||
|
|
||||||
#$res=&$scriptblk
|
|
||||||
|
|
||||||
|
bash -c -i './tools/pm3_tests.sh --clientbin client/build/proxmark3.exe client'
|
||||||
|
|
||||||
#Write-Host "---------- make ok ----------" -ForegroundColor Yellow
|
$testspass = ($LASTEXITCODE -eq 0)
|
||||||
|
|
||||||
#bash -c -i 'make check CHECKARGS="--clientbin ./client/build/proxmark3"'
|
$global:TestsPassed=(($global:TestsPassed) -and ($testspass))
|
||||||
|
|
||||||
#$testspass = ($LASTEXITCODE -eq 0)
|
|
||||||
|
|
||||||
#$global:TestsPassed=(($global:TestsPassed) -and ($testspass))
|
|
||||||
|
|
||||||
if ($testspass) {
|
if ($testspass) {
|
||||||
Add-AppveyorTest -Name "cmake Tests" -Framework NUnit -Filename "make client/check" -Outcome Passed -Duration "$([System.Environment]::TickCount-$TestTime)"
|
Add-AppveyorTest -Name "cmake Tests" -Framework NUnit -Filename "make client/check" -Outcome Passed -Duration "$([System.Environment]::TickCount-$TestTime)"
|
||||||
|
|
Loading…
Reference in a new issue