Hi, when I try to get the code coverage reports using gcov, it initially worked when I had only a single module. However, when I created another module using module:create[], the unit tests run OK but the coverage report is not generated, along with the warning "Found no coverage results for test_rainflow::rainflow.c" (rainflow is the second module).
When I check the console output with verbose level 4, I noticed that the build command for rainflow.o file with -fprofile-arcs -ftest-coverage flags is not run. Also, .gcda and .gcno files are created only for the first module, not the rainflow (2nd) module.
How can I fix this?