When building unit tests for GoogleTest, LDF finds required modules in lib/ but not in src/. I’ve tried adding paths to test_filter (eg. “…/src/common”) but modules within that folder are still not built.
The unit test code that uses these modules includes their header files and compiles without error, but the modules under src/ and not built and the final link fails because the needed src/ modules are not referenced.
lib/dap dlm src/common/dadc dgpio test/test_native/dap dlm
It is expected that no modules in the src/ tree are built for unit test?