ci: provide test.log

This commit is contained in:
Leo Yuriev
2017-04-24 19:03:38 +03:00
parent e98a1e5319
commit 66d842c23b
4 changed files with 11 additions and 6 deletions

View File

@@ -23,7 +23,11 @@ build:
test_script:
- ps: |
if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" -PathType Leaf)) {
& "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" --pathname=tmp.db --dont-cleanup-after basic
$test = "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe"
} else {
& "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe" --pathname=tmp.db --dont-cleanup-after basic
$test = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe"
}
& "$test" --pathname=tmp.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42
artifacts:
- path: test.log