mdbx-ci: fix exe-paths for AppVeyor.

This commit is contained in:
Leonid Yuriev 2019-09-01 16:53:11 +03:00
parent 6585d58c03
commit 344a4e7138

View File

@ -66,11 +66,11 @@ build_script:
test_script: test_script:
- ps: | - ps: |
if (($env:PLATFORM -ne "ARM") -and ($env:PLATFORM -ne "ARM64")) { if (($env:PLATFORM -ne "ARM") -and ($env:PLATFORM -ne "ARM64")) {
& test\mdbx_test.exe --pathname=test.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42 & ./$env:CONFIGURATION/mdbx_test.exe --pathname=test.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42
if ($LastExitCode -ne 0) { if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage" throw "Exec: $ErrorMessage"
} else { } else {
& src\tools\mdbx_chk.exe -nvv test.db | Tee-Object -file chk.log | Select-Object -last 42 & ./$env:CONFIGURATION/mdbx_chk.exe -nvv test.db | Tee-Object -file chk.log | Select-Object -last 42
} }
} }