From: Vincent Fu Date: Tue, 14 Apr 2020 14:10:45 +0000 (-0400) Subject: appveyor: make test artifacts available for inspection X-Git-Tag: fio-3.20~29^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=17659028f14b77554b8f46d26acb2cfdd74a9e6b;p=fio.git appveyor: make test artifacts available for inspection For debugging test failures, package test artifacts and make them available for download. Exclude certain files to reduce size of the compressed archive. Suggested-by: Sitsofe Wheeler Signed-off-by: Vincent Fu --- diff --git a/.appveyor.yml b/.appveyor.yml index 2f962c4b..e2351be7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -25,8 +25,11 @@ after_build: test_script: - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test' - - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && python.exe t/run-fio-tests.py --debug' + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && [ -f fio.exe ] && python.exe t/run-fio-tests.py --artifact-root test-artifacts --debug' + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && [ -d test-artifacts ] && 7z a -t7z test-artifacts.7z test-artifacts -xr!foo.0.0 -xr!latency.?.0 -xr!fio_jsonplus_clat2csv.test' artifacts: - path: os\windows\*.msi name: msi + - path: test-artifacts.7z + name: test-artifacts