Tests can now be built as part of FSFW and versioning moved to CMake #500
|
@ -56,9 +56,8 @@ if(FSFW_BUILD_UNITTESTS)
|
|||
FetchContent_MakeAvailable(Catch2)
|
||||
endif()
|
||||
|
||||
configure_file(tests/src/fsfw_tests/unit/testcfg/FSFWConfig.h.in tests/FSFWConfig.h)
|
||||
set(FSFW_CONFIG_PATH tests/src/fsfw_tests/unit/testcfg)
|
||||
|
||||
configure_file(tests/src/fsfw_tests/unit/testcfg/TestsConfig.h.in tests/TestsConfig.h)
|
||||
configure_file(tests/src/fsfw_tests/unit/testcfg/OBSWConfig.h.in tests/OBSWConfig.h)
|
||||
add_executable(${FSFW_TEST_TGT})
|
||||
mohr marked this conversation as resolved
mohr
commented
Seems to be not used atm, only instance is in Seems to be not used atm, only instance is in `/hal/src/fsfw_hal/linux/uart/UartComIF.cpp`, where it is expected in the root folder as well.
muellerr
commented
These configuration files are private to the tests. I wil look into it to figure out how to solve this.. These configuration files are private to the tests. I wil look into it to figure out how to solve this..
|
||||
|
||||
if(FSFW_TESTS_GEN_COV)
|
||||
|
|
Loading…
Reference in New Issue
Block a user
Needed to move this into the root folder, so that the fsfw components could find it.
This was not an issue for the KSat integration and tests in the hosted FSFW example. It should be enough to have an own configure file for the actualy FSFW application
I can now see what can be problematic.. I am not entirely sure how to solve this
I just changed it to
configure_file(tests/src/fsfw_tests/unit/testcfg/FSFWConfig.h.in FSFWConfig.h)