some fixes
This commit is contained in:
parent
8465670374
commit
fdf35232ee
@ -163,10 +163,9 @@ if(FSFW_BUILD_UNITTESTS)
|
|||||||
list(APPEND FSFW_FETCH_CONTENT_TARGETS Catch2)
|
list(APPEND FSFW_FETCH_CONTENT_TARGETS Catch2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(FSFW_CONFIG_PATH tests/src/fsfw_tests/unit/testcfg)
|
set(FSFW_CONFIG_PATH unittests/testcfg/)
|
||||||
configure_file(tests/src/fsfw_tests/unit/testcfg/FSFWConfig.h.in FSFWConfig.h)
|
configure_file(unittests/testcfg/FSFWConfig.h.in FSFWConfig.h)
|
||||||
configure_file(tests/src/fsfw_tests/unit/testcfg/TestsConfig.h.in
|
configure_file(unittests/testcfg/TestsConfig.h.in tests/TestsConfig.h)
|
||||||
tests/TestsConfig.h)
|
|
||||||
|
|
||||||
project(${FSFW_TEST_TGT} CXX C)
|
project(${FSFW_TEST_TGT} CXX C)
|
||||||
add_executable(${FSFW_TEST_TGT})
|
add_executable(${FSFW_TEST_TGT})
|
||||||
|
@ -2,8 +2,6 @@ if(FSFW_ADD_INTERNAL_TESTS)
|
|||||||
add_subdirectory(internal)
|
add_subdirectory(internal)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FSFW_BUILD_UNITTESTS)
|
if(NOT FSFW_BUILD_UNITTESTS)
|
||||||
add_subdirectory(unit)
|
|
||||||
else()
|
|
||||||
add_subdirectory(integration)
|
add_subdirectory(integration)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user