mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
added "make check" command to run tests
This commit is contained in:
parent
fd05f7ea53
commit
a576d7cbf6
10
add.test.cmake
Normal file
10
add.test.cmake
Normal file
@ -0,0 +1,10 @@
|
||||
# добавляем вывод программы при ошибке теста
|
||||
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()
|
Loading…
Reference in New Issue
Block a user