mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
11 lines
391 B
CMake
11 lines
391 B
CMake
|
# добавляем вывод программы при ошибке теста
|
||
|
enable_testing()
|
||
|
if (CMAKE_CONFIGURATION_TYPES)
|
||
|
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||
|
--force-new-ctest-process --output-on-failure
|
||
|
--build-config "$<CONFIGURATION>")
|
||
|
else()
|
||
|
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||
|
--force-new-ctest-process --output-on-failure)
|
||
|
endif()
|