some tests

This commit is contained in:
2021-10-11 14:22:57 +02:00
parent cc74ae777a
commit d0b7a1ecf2

View File

@ -1,12 +1,12 @@
target_sources(${FSFW_TEST_TGT} PRIVATE #target_sources(${FSFW_TEST_TGT} PRIVATE
ipc/MissionMessageTypes.cpp # ipc/MissionMessageTypes.cpp
pollingsequence/PollingSequenceFactory.cpp # pollingsequence/PollingSequenceFactory.cpp
) #)
# Add include paths for the executable # Add include paths for the executable
target_include_directories(${FSFW_TEST_TGT} PRIVATE #target_include_directories(${FSFW_TEST_TGT} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR} # ${CMAKE_CURRENT_SOURCE_DIR}
) #)
# These translation files are actually not that relevant for the tests. However, the FSFW tests # These translation files are actually not that relevant for the tests. However, the FSFW tests
# compile against a user-configured variant of the FSFW, which might be configured to include # compile against a user-configured variant of the FSFW, which might be configured to include
@ -14,15 +14,15 @@ target_include_directories(${FSFW_TEST_TGT} PRIVATE
# so the tests compile in any case. # so the tests compile in any case.
# If a special translation file for object IDs exists, compile it. # If a special translation file for object IDs exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp") #if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
target_sources(${FSFW_TEST_TGT} PRIVATE # target_sources(${FSFW_TEST_TGT} PRIVATE
objects/translateObjects.cpp # objects/translateObjects.cpp
) # )
endif() #endif()
# If a special translation file for events exists, compile it. # If a special translation file for events exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp") #if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
target_sources(${FSFW_TEST_TGT} PRIVATE # target_sources(${FSFW_TEST_TGT} PRIVATE
events/translateEvents.cpp # events/translateEvents.cpp
) # )
endif() #endif()