summaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@wdc.com>2020-04-14 10:10:45 -0400
committerVincent Fu <vincent.fu@wdc.com>2020-04-14 11:26:38 -0400
commit17659028f14b77554b8f46d26acb2cfdd74a9e6b (patch)
treed7e92dab6e4274c1684bcd82cb427c13259bf10e /.appveyor.yml
parent25dc6606fbbaca35aec3009c4ff9512ed02d41ba (diff)
downloadfio-17659028f14b77554b8f46d26acb2cfdd74a9e6b.tar.gz
fio-17659028f14b77554b8f46d26acb2cfdd74a9e6b.tar.bz2
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 <sitsofe@gmail.com> Signed-off-by: Vincent Fu <vincent.fu@wdc.com>
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml5
1 files changed, 4 insertions, 1 deletions
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