Make Appveyor show test output on failure

This commit is contained in:
Eric Fiselier 2016-08-07 20:09:52 -06:00
parent 8267117a92
commit 8228b3e8a7

View File

@ -47,7 +47,7 @@ before_build:
- if "%compiler_name%"=="msvc" if "%compiler_version%"=="14" if "%platform%"=="x86" (set "generator=Visual Studio 14 2015")
- if "%compiler_name%"=="msvc" if "%compiler_version%"=="14" if "%platform%"=="x64" (set "generator=Visual Studio 14 2015 Win64")
- if "%compiler_name%"=="msvc" (set "build=cmake --build . --config %variant%")
- if "%compiler_name%"=="msvc" (set "test=ctest -c Release -D CTEST_OUTPUT_ON_FAILURE:STRING=1")
- if "%compiler_name%"=="msvc" (set "test=ctest -c Release --ouput-on-failure")
# add the compiler path if needed
- if not "%compiler_path%"=="" (set "PATH=%PATH%;%compiler_path%")
# git bash conflicts with MinGW makefiles