Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 773 Bytes

testimpl.md

File metadata and controls

23 lines (14 loc) · 773 Bytes

Note: auto-generated from comments in: ./target/testimpl.cmake

testimpl.cmake:

This target invokes the unit test code template generation available as part of the fprime autocoder. It implements the target interface described here: Targets.

  • add_module_target: adds sub-targets for '<MODULE_NAME>_test_impl'

Impl function add_module_target:

Adds a module-by-module target for producing implementations. Take in the Ai.xml file and produces a set of test templates.

  • MODULE_NAME: name of the module
  • TARGET_NAME: name of target to produce
  • AC_INPUTS: list of autocoder inputs
  • SOURCE_FILES: list of source file inputs
  • AC_OUTPUTS: list of autocoder outputs
  • MOD_DEPS: hand specified dependencies of target