You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project we have two test targets. One is a unit test target and the other one a logic test target. The unit test target does not run the application and the gcda files for this target are saved in the unit_test.build by Xcode. On the other hand the logic test target gcda files are saved within the application build folder.
So when the plugin parses the gcda files to generate the code coverage, it misses the unit test information.
In the build_var file, object_file_dir is set to application.build/Objects-normal/x86_64
What can i do for the plugin to see both source of bcda files?
The text was updated successfully, but these errors were encountered:
Hmm, so it sounds like you are having trouble generating gcov files for both builds? The plugin expects there to be gcov files already generated. It will then attempt to automatically find them, or you can manually set the folder that contains the gcov files and it will recursively search in that folder for them.
However, in the TestApp/build_scripts folder I have some sample scripts that can help generate .gcov files for you (which is I think the build_var file you are referencing) although they are just meant to be used as an example since everyone's build setup can be very different. It sounds like the easiest thing for you to do might be to slightly tweak the build_scripts to handle exporting more than one directory that contain .gcda files.
In our project we have two test targets. One is a unit test target and the other one a logic test target. The unit test target does not run the application and the gcda files for this target are saved in the unit_test.build by Xcode. On the other hand the logic test target gcda files are saved within the application build folder.
So when the plugin parses the gcda files to generate the code coverage, it misses the unit test information.
In the build_var file, object_file_dir is set to
application.build/Objects-normal/x86_64
What can i do for the plugin to see both source of bcda files?
The text was updated successfully, but these errors were encountered: