mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
cmake: force tests to run from source dir
This commit is contained in:
parent
b96f132d21
commit
be684446bd
@ -10,6 +10,6 @@ else()
|
||||
endif()
|
||||
|
||||
macro (add_check target)
|
||||
add_test(test_${target} ${target})
|
||||
add_test(NAME test_${target} COMMAND ${target} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
add_dependencies(check ${target})
|
||||
endmacro (add_check)
|
Loading…
Reference in New Issue
Block a user