mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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