How to generate .gcda files


Hello, everyone

Does any one know how to generate .gcda file in EDK2 for unit test. I want to get .gcda files from EDK2 so that I can use lcov to calculate the unit test coverage.
I searched .gcda files in Build folder in my old EDK2 repository(this repository run build and CI locally before) and found .gcda files, but I am not sure when and how were they generated. When I download a new edk2 repository and locally run CI command "stuart_ci_build -c .pytool/ TOOL_CHAIN_TAG=GCC5", there were no .gcda files generated.


Join to automatically receive all group messages.