ci: MIN_LOG_LEVEL=2 (#6169)

DEBUG_LOG_LEVEL is very noisy and causes a lot of disk activity.
It is not needed on CI.
This commit is contained in:
Justin M. Keyes 2017-02-24 11:03:56 +01:00 committed by GitHub
parent 9752a333c3
commit 039c7ab607
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ env:
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX
-DBUSTED_OUTPUT_TYPE=gtest
-DDEPS_PREFIX=$DEPS_BUILD_DIR/usr
-DMIN_LOG_LEVEL=0"
-DMIN_LOG_LEVEL=2"
- DEPS_CMAKE_FLAGS="-DDEPS_DOWNLOAD_DIR:PATH=$DEPS_DOWNLOAD_DIR"
# Additional CMake flags for 32-bit builds.
- CMAKE_FLAGS_32BIT="-DCMAKE_SYSTEM_LIBRARY_PATH=/lib32:/usr/lib32:/usr/local/lib32

View File

@ -439,11 +439,11 @@ install_helper(
# MIN_LOG_LEVEL for log.h
if(DEFINED MIN_LOG_LEVEL)
if(NOT MIN_LOG_LEVEL MATCHES "^[0-3]$")
message(FATAL_ERROR "MIN_LOG_LEVEL must be a number DEBUG (0), INFO (1), WARNING (2) or ERROR (3)")
message(FATAL_ERROR "MIN_LOG_LEVEL must be a number 0-3")
endif()
message(STATUS "Log level set to ${MIN_LOG_LEVEL}")
message(STATUS "MIN_LOG_LEVEL set to ${MIN_LOG_LEVEL}")
else()
message(STATUS "Log level not specified, defaulting to INFO(1)")
message(STATUS "MIN_LOG_LEVEL not specified, defaulting to INFO(1)")
endif()
# Go down the tree.