From 5130212d5f6cbaa9fb420a62d62d074cae7d80a6 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 8 Jul 2016 11:07:22 +0200 Subject: [PATCH] appveyor: show output on test failure --- .appveyor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 80e02f4f4..de0adb121 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,8 +12,10 @@ environment: matrix: - CMAKE_PLATFORM: "Visual Studio 14 2015" PYTHON_DIR: "C:\\Python34" + CTEST_OUTPUT_ON_FAILURE: 1 - CMAKE_PLATFORM: "Visual Studio 14 2015 Win64" PYTHON_DIR: "C:\\Python34-x64" + CTEST_OUTPUT_ON_FAILURE: 1 install: - cinstall: python build_script: @@ -21,4 +23,7 @@ build_script: - cd c:\projects\pybind11 - cmake -G "%CMAKE_PLATFORM%" -DPYTHON_EXECUTABLE:FILEPATH=%PYTHON_DIR%/python.exe - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + - cmake --build . --config %Configuration% -- /v:m /logger:%MSBuildLogger% + - set PATH=%PYTHON_DIR%;%PATH% + - python example/example18.py - cmake --build . --config %Configuration% --target check -- /v:m /logger:%MSBuildLogger%