mirror of
https://github.com/nasa/fprime.git
synced 2025-12-15 14:05:24 -06:00
Explicity add test dependencies to Os_ut_exe (#2569)
This commit is contained in:
parent
a9989ceca6
commit
c52f443e61
@ -114,7 +114,13 @@ set(UT_SOURCE_FILES
|
||||
"${CMAKE_CURRENT_LIST_DIR}/test/ut/OsMutexBasicLockableTest.cpp"
|
||||
)
|
||||
register_fprime_ut()
|
||||
|
||||
if (BUILD_TESTING)
|
||||
foreach (TEST IN ITEMS StubFileTest PosixFileTest)
|
||||
if (TARGET "${TEST}")
|
||||
add_dependencies("Os_ut_exe" "${TEST}")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
# Second UT Pthreads
|
||||
set(UT_SOURCE_FILES
|
||||
"${CMAKE_CURRENT_LIST_DIR}/Pthreads/test/ut/BufferQueueTest.cpp"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user