Hello,
I'm trying to use the Sonar scanner on a Linux C application on which I've generated coverage reports using gcov.
The scanner accepts multiple source directories by passing, for example, "-Dsonar.sources=src,test", however I only seem to be able to pass a
single directory via the -Dsonar.cfamily.gcov.reportsPath parameter.
Since gcov puts the coverage files next to the source files, if my source files are spread across multiple directories I need to be able to specify multiple directory for the reportsPath parameter.
I have tried passing multiple directories either comma delimited (as with the sonar.sources parameter), and space delimited, but when I do so it appears the scanner is unable to find any of the gcov reports as the project is shown to have 0% coverage.
Thanks!