Skip to content

cmake: add_component: testing if ARMARX_REGISTER_COMPONENT_EXECUTABLE is existing

Fabian Reister requested to merge feature/test-component-executable-macro into master

I added a test case for those components that should / must have the ARMARX_REGISTER_COMPONENT_EXECUTABLE statement added to the component's cpp file.

The test executes 'component_run -p' which prints the properties to stdout.

@paus.fabian is there a better way to test if the symbol is available? I'd like to add another test "..__properties__test" for all components (not only those with the decoupled main).

Merge request reports