Diagnose clang failures

This commit is contained in:
vitaut 2015-03-19 07:51:10 -07:00
parent a53ac7ad5c
commit df477565f8
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ env:
script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON .
- make -j4
- make -j4 VERBOSE=1
- CTEST_OUTPUT_ON_FAILURE=1 make test
after_failure:

View File

@ -66,6 +66,7 @@ if (WIN32)
else ()
check_symbol_exists(open fcntl.h HAVE_OPEN)
endif ()
message("HAVE_OPEN: ${HAVE_OPEN}")
if (HAVE_OPEN)
add_definitions(-DFMT_USE_FILE_DESCRIPTORS=1)
set(FMT_SOURCES ${FMT_SOURCES} posix.cc posix.h)