{"action":"created","issue":{"url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling/issues/447","repository_url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling","labels_url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling/issues/447/comments","events_url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling/issues/447/events","html_url":"https://github.com/ThrowTheSwitch/Ceedling/issues/447","id":544606029,"node_id":"MDU6SXNzdWU1NDQ2MDYwMjk=","number":447,"title":"Empty Coverage report from \"ceedling utils:gcov\"","user":{"login":"paul-das","id":59444797,"node_id":"MDQ6VXNlcjU5NDQ0Nzk3","avatar_url":"https://avatars3.githubusercontent.com/u/59444797?v=4","gravatar_id":"","url":"https://api.github.com/users/paul-das","html_url":"https://github.com/paul-das","followers_url":"https://api.github.com/users/paul-das/followers","following_url":"https://api.github.com/users/paul-das/following{/other_user}","gists_url":"https://api.github.com/users/paul-das/gists{/gist_id}","starred_url":"https://api.github.com/users/paul-das/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul-das/subscriptions","organizations_url":"https://api.github.com/users/paul-das/orgs","repos_url":"https://api.github.com/users/paul-das/repos","events_url":"https://api.github.com/users/paul-das/events{/privacy}","received_events_url":"https://api.github.com/users/paul-das/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2020-01-02T14:42:24Z","updated_at":"2020-01-06T15:00:05Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nMy ceedling version is :: 0.28.3, gcovr version is :: 4.2 and I am on a Windows machine, I am working on getting gcovr to generate a coverage report based on data generated by gcov. I get the following output at the end of \"ceedling gcov:all\":\r\n---------------------------\r\nGCOV: CODE COVERAGE SUMMARY\r\n---------------------------\r\nadc_service.c Lines executed:100.00% of 50\r\nadc_service.c Branches executed:100.00% of 20\r\nadc_service.c Taken at least once:95.00% of 20\r\nadc_service.c Calls executed:100.00% of 12\r\n\r\nlod_service.c Lines executed:57.94% of 340\r\nlod_service.c Branches executed:67.44% of 215\r\nlod_service.c Taken at least once:40.47% of 215\r\nlod_service.c Calls executed:50.85% of 59\r\n\r\npos_service.c Lines executed:66.94% of 360\r\npos_service.c Branches executed:77.78% of 216\r\npos_service.c Taken at least once:57.87% of 216\r\npos_service.c Calls executed:65.82% of 79\r\n\r\nindicating that gcov did collect coverage data, however when I do \"ceedling utils:gcov\" I only get \"GcovCoverageResults.html\" file, but no other files. I read a few issue discussions on this topic:\r\nhttps://github.com/ThrowTheSwitch/Ceedling/issues/224\r\nhttps://github.com/gcovr/gcovr/issues/112\r\nhttps://github.com/gcovr/gcovr/issues/152\r\n\r\neven though the symptoms looked similar, I couldn't find the root cause and it seems most of them should have been fixed in the versions I am using. I have tried running the demo for gcov and that works as expected, with the same ceedling framework (indicating the default.yml file is configured right). I compared the project.yml files between the demo and my project and they match (at least from what I can say). Here are the relevant options from my project.yml file:\r\n:gcov:\r\n    :html_report_type: detailed\r\n:plugins:\r\n  :load_paths:\r\n    - ../..//test/test_frameworks/ceedling//plugins\r\n  :enabled:\r\n    - stdout_pretty_tests_report\r\n    - module_generator\r\n    - gcov    \r\n\r\nWould appreciate any pointers.\r\n\r\nThank you,\r\nPaul\r\n"},"comment":{"url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling/issues/comments/571170163","html_url":"https://github.com/ThrowTheSwitch/Ceedling/issues/447#issuecomment-571170163","issue_url":"https://api.github.com/repos/ThrowTheSwitch/Ceedling/issues/447","id":571170163,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MTE3MDE2Mw==","user":{"login":"mvandervoord","id":16511,"node_id":"MDQ6VXNlcjE2NTEx","avatar_url":"https://avatars0.githubusercontent.com/u/16511?v=4","gravatar_id":"","url":"https://api.github.com/users/mvandervoord","html_url":"https://github.com/mvandervoord","followers_url":"https://api.github.com/users/mvandervoord/followers","following_url":"https://api.github.com/users/mvandervoord/following{/other_user}","gists_url":"https://api.github.com/users/mvandervoord/gists{/gist_id}","starred_url":"https://api.github.com/users/mvandervoord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvandervoord/subscriptions","organizations_url":"https://api.github.com/users/mvandervoord/orgs","repos_url":"https://api.github.com/users/mvandervoord/repos","events_url":"https://api.github.com/users/mvandervoord/events{/privacy}","received_events_url":"https://api.github.com/users/mvandervoord/received_events","type":"User","site_admin":false},"created_at":"2020-01-06T15:00:05Z","updated_at":"2020-01-06T15:00:05Z","author_association":"MEMBER","body":"The issues you're referencing are the old method of configuring gcov. We've since expanded its functionality significantly. Try this:\r\n\r\n```\r\n:gcov:\r\n  :reports:\r\n    - HtmlDetailed\r\n```\r\n\r\nalternatively, if you want to continue to use the old format, you need to enable that report first:\r\n\r\n```\r\n:gcov:\r\n  :html_report: true\r\n  :html_report_type: detailed\r\n```\r\n\r\nYou'll probably want to read the documentation for the gcov plugin. There are a lot of options you can fiddle with to get just what you want. You can find it here: https://github.com/ThrowTheSwitch/Ceedling/tree/master/plugins/gcov "}}
{"actor":{"display_login":"mvandervoord"}}