mirror of
https://github.com/nasa/fprime.git
synced 2026-05-01 08:29:59 -05:00
* Start functional tests for FPP component autocoder * Add test components and formal param template types * Create general formal param types and update test components * Fix FppTest utilities * Update test component and formal param types * Add telemetry tests for FPP components * Add macros to generate test code in FPP component autocoder tests * Add telemetry tests for queued and passive FPP components * Use formal param types in FPP port autocoder tests * Share a main test file between FPP component tests * Add empty FPP component test * Add event tests for active FPP components * Add event tests for all FPP component types * Start parameter tests for FPP components * Add parameter tests for FPP components * Update parameter tests for FPP components * Merge port tests into FPP component tests * Update port tests for FPP components * Format macros * Reorganize FPP tests * Add command tests for FPP components * Add parameter command tests for FPP components * Update FPP tests * Update FPP tests * Update FPP tests * Remove unnecessary ports * Add async FPP component tests * Revise FPP port tests * Reorganize FPP tests * Format macros * Update FPP tests * Add headers * Fix typo * Update expected words for spell checker * Update expected words for spell checker * Run clang format * Update fprime-fpp version * Update FPP version --------- Co-authored-by: bocchino <bocchino@jpl.nasa.gov>
37 lines
883 B
CMake
37 lines
883 B
CMake
# ======================================================================
|
|
# CMakeLists.txt
|
|
# ======================================================================
|
|
|
|
set(SOURCE_FILES
|
|
"${CMAKE_CURRENT_LIST_DIR}/empty.fpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/Empty.cpp"
|
|
)
|
|
|
|
register_fprime_module()
|
|
|
|
# Sets MODULE_NAME to unique name based on path
|
|
get_module_name(${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
# Exclude test module from all build
|
|
set_target_properties(
|
|
${MODULE_NAME}
|
|
PROPERTIES
|
|
EXCLUDE_FROM_ALL TRUE
|
|
)
|
|
|
|
# Declare dependencies on test modules
|
|
set(UT_MOD_DEPS
|
|
Fw/Test
|
|
STest
|
|
)
|
|
|
|
# Add unit test directory
|
|
# UT_SOURCE_FILES: Sources for unit test
|
|
set(UT_SOURCE_FILES
|
|
"${CMAKE_CURRENT_LIST_DIR}/empty.fpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/test/ut/Tester.cpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/test/ut/TesterHelpers.cpp"
|
|
"${CMAKE_CURRENT_LIST_DIR}/test/ut/TestMain.cpp"
|
|
)
|
|
register_fprime_ut()
|