1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Turn on verbose output on failure for tests.

This commit is contained in:
Joshua D. Boyd
2016-03-18 02:50:03 -04:00
parent 54c6b08917
commit dede1e562f

View File

@@ -114,7 +114,7 @@ before_build:
# Set up mingw commands # Set up mingw commands
- if "%compiler_name%"=="gcc" (set "generator=MinGW Makefiles") - if "%compiler_name%"=="gcc" (set "generator=MinGW Makefiles")
- if "%compiler_name%"=="gcc" (set "build=mingw32-make -j4") - if "%compiler_name%"=="gcc" (set "build=mingw32-make -j4")
- if "%compiler_name%"=="gcc" (set "test=mingw32-make CTEST_OUTPUT_ON_FAILURE=1 test") - if "%compiler_name%"=="gcc" (set "test=mingw32-make test")
# MSVC specific commands # MSVC specific commands
# Note: The minimum version officially supported for CivetWeb is VS2010. Older ones might work or not. # Note: The minimum version officially supported for CivetWeb is VS2010. Older ones might work or not.
- if "%compiler_version%"=="14" (set "vs_version=8" & set "vs_year=2005") - if "%compiler_version%"=="14" (set "vs_version=8" & set "vs_year=2005")
@@ -183,6 +183,7 @@ build_script:
test_script: test_script:
- cd "%build_path%" - cd "%build_path%"
- appveyor AddMessage -Category Information "Test command '%build%'" - appveyor AddMessage -Category Information "Test command '%build%'"
- set CTEST_OUTPUT_ON_FAILURE=1
- cmd /c "%test%" - cmd /c "%test%"
- cd "%source_path%" - cd "%source_path%"