{"action":"created","issue":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/520","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/520/comments","events_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/520/events","html_url":"https://github.com/wenns/sonar-cxx/issues/520","id":81928075,"number":520,"title":"sonar_runner console output  analysing Unit Tests ","user":{"login":"Benoitlz","id":12611934,"avatar_url":"https://avatars.githubusercontent.com/u/12611934?v=3","gravatar_id":"","url":"https://api.github.com/users/Benoitlz","html_url":"https://github.com/Benoitlz","followers_url":"https://api.github.com/users/Benoitlz/followers","following_url":"https://api.github.com/users/Benoitlz/following{/other_user}","gists_url":"https://api.github.com/users/Benoitlz/gists{/gist_id}","starred_url":"https://api.github.com/users/Benoitlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benoitlz/subscriptions","organizations_url":"https://api.github.com/users/Benoitlz/orgs","repos_url":"https://api.github.com/users/Benoitlz/repos","events_url":"https://api.github.com/users/Benoitlz/events{/privacy}","received_events_url":"https://api.github.com/users/Benoitlz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-28T13:34:48Z","updated_at":"2015-05-29T12:18:59Z","closed_at":null,"body":"Unit tests analysis seems to be handled differently from the main code.\r\nWhen the main code is analyzed, sonar_runner console output produces only once the block of WARN and INFO at the beginning.\r\nFor the Unit tests, it produces this block (which in my case is 230 lines) for every file that has a parsing error. Please produce it only once at the beginning of the unit tests, this information does not change.\r\n(in example below starts at '14:15:21.390 WARN')\r\n14:15:21.091 INFO  - Sensor CxxXunitSensor\r\n14:15:21.109 INFO  - Processing report 'M:\\wcs_simulation_QA_373\\debug\\GtestReports.xml'\r\n14:15:21.387 INFO  - Parsing 'xUnit' format\r\n14:15:21.388 INFO  - Processing in 'detailled mode' i.e. with provideDetails=true\r\n14:15:21.390 WARN  - the include root 'C:\\Program Files (x86)\\Intel\\Composer XE 2015\\compiler\\include\\intel64' doesn't exist\r\n14:15:21.391 WARN  - the include root 'C:\\Program Files\\Java\\jre1.8.0_45\\include\\win32' doesn't exist\r\n14:15:21.392 WARN  - the include root 'C:\\Program Files\\Java\\jre1.8.0_45\\INCLUDE' doesn't exist\r\n14:15:21.395 INFO  - storing external macro: 'USE_WIX39 -> '''\r\n14:15:21.395 INFO  - storing external macro: 'ON_WM_KILLFOCUS() -> '''\r\n14:15:21.395 INFO  - storing external macro: '_RWTOOLSDLL -> '''\r\n\r\nAlso code that seems to parse OK for the main code does not parse in the unit tests, e.g.:\r\nnamespace MINE { namespace WCS { namespace Simulator { namespace Displacement { \r\n"},"comment":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/comments/106787165","html_url":"https://github.com/wenns/sonar-cxx/issues/520#issuecomment-106787165","issue_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/520","id":106787165,"user":{"login":"Benoitlz","id":12611934,"avatar_url":"https://avatars.githubusercontent.com/u/12611934?v=3","gravatar_id":"","url":"https://api.github.com/users/Benoitlz","html_url":"https://github.com/Benoitlz","followers_url":"https://api.github.com/users/Benoitlz/followers","following_url":"https://api.github.com/users/Benoitlz/following{/other_user}","gists_url":"https://api.github.com/users/Benoitlz/gists{/gist_id}","starred_url":"https://api.github.com/users/Benoitlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benoitlz/subscriptions","organizations_url":"https://api.github.com/users/Benoitlz/orgs","repos_url":"https://api.github.com/users/Benoitlz/repos","events_url":"https://api.github.com/users/Benoitlz/events{/privacy}","received_events_url":"https://api.github.com/users/Benoitlz/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T12:18:59Z","updated_at":"2015-05-29T12:18:59Z","body":"my point here was:\r\n1) can the console output from sonar_runner be reduced ?\r\n2) can the code that parses OK in main project parse as well when in unit tests (the same syntax fails in the second case) ?\r\nThanks and Regards."}}