forked from Archive/PX4-Autopilot
camke ctest: enable gtest colors
This commit is contained in:
parent
adacca099d
commit
1e033c4719
|
@ -122,7 +122,7 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
|||
option(ECL_TESTS "Build ECL tests" ON)
|
||||
|
||||
add_custom_target(check
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C Debug
|
||||
COMMAND GTEST_COLOR=1 ${CMAKE_CTEST_COMMAND} --output-on-failure -C Debug
|
||||
DEPENDS ecl_EKF
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue