mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 19:31:19 +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'
|
||||
|
||||
#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")
|
||||
|
||||
#$res=&$scriptblk
|
||||
cd c:\ProxSpace\pm3
|
||||
|
||||
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"'
|
||||
|
||||
#$testspass = ($LASTEXITCODE -eq 0)
|
||||
|
||||
#$global:TestsPassed=(($global:TestsPassed) -and ($testspass))
|
||||
$global:TestsPassed=(($global:TestsPassed) -and ($testspass))
|
||||
|
||||
if ($testspass) {
|
||||
Add-AppveyorTest -Name "cmake Tests" -Framework NUnit -Filename "make client/check" -Outcome Passed -Duration "$([System.Environment]::TickCount-$TestTime)"
|
||||
|
|
Loading…
Reference in a new issue