First step towards more test granularity.
This commit is contained in:
parent
d158333335
commit
8854298606
tests
@ -2,10 +2,7 @@ cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
project(${project_name}_tests)
|
||||
|
||||
set(src_dir ${CMAKE_SOURCE_DIR}/src)
|
||||
|
||||
# copy unit test data
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/tests/data
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/tests)
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/tests/data DESTINATION ${CMAKE_BINARY_DIR}/tests)
|
||||
|
||||
# TODO: test logic here T190
|
||||
|
@ -41,7 +41,4 @@ foreach(test_cpp ${test_type_cpps})
|
||||
# dynamic lib
|
||||
target_link_libraries(${target_name} dl)
|
||||
|
||||
# register test
|
||||
add_test(${target_name} ${exec_name})
|
||||
|
||||
endforeach()
|
||||
|
Loading…
Reference in New Issue
Block a user