AppVeyor: Dump crash log on failure.

This commit is contained in:
kennytm 2018-05-11 12:30:50 +08:00 committed by Mark Simulacrum
parent 5d015e1366
commit 9d690d40d0
1 changed files with 5 additions and 0 deletions

View File

@ -211,6 +211,11 @@ test_script:
- set NO_CCACHE=1
- sh src/ci/run.sh
on_failure:
# Dump crash log
- set PATH=%PATH%;"C:\Program Files (x86)\Windows Kits\10\Debuggers\X64"
- if exist %LOCALAPPDATA%\CrashDumps for %%f in (%LOCALAPPDATA%\CrashDumps\*) do cdb -c "k;q" -G -z "%%f"
branches:
only:
- auto