summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-17Fix lookup up out of tree builds with subdir-objectsHEADmasterStef Walter
2014-04-09Fix issue where we try to look up mtime of modified filesStef Walter
2013-04-03Don't limit ourselves to relative pathsStef Walter
./configure may have been called with an absolute path, and the resulting srcdirs will contain absolute paths, which will end up in the gcno files.
2013-02-15Handle patches that have the git 'No newline' warningStef Walter
2013-02-12More robust looking for python coverage filesPablo Figue
2013-01-21Better handling of large changes with high coverageStef Walter
Previously we would print out entire patches and then annotate them for coverage. This worked poorly for new files added, when most of the file had coverage. Rework the patch hunks and only print out N lines of context around uncovered lines. Also don't treat unchanged lines as uncovered by default. This can be overridden by the --cover-context option. Lastly parse the git diff command and only allow relevant options through. We needed to do this to get access to the number of context lines in use.
2012-12-19Fix misspelled variable nameMarius Gedminas
Noticed by pyflakes. I've no idea what sort of errors it could've caused at runtime.
2012-12-18Fix problems with out of directory buildsStef Walter
* Ask gcov to resolve what source files a gcno file represents. * This also covers issues with multiple gcno files for the same source file, as would be the case if a source file is built into multiple executables/libraries.
2012-11-29Provide intelligent warnings for missing/invalid .gcno filesStef Walter
No gcno file indicates that the the source was not built with code coverage. If the gcno file exists but predates the source file, then probably not rebuilt since last change.
2012-11-29Don't assume gcc was run in same directory as sourceStef Walter
gcov needs to be run in the same directory as gcc was run in order to find the source files correctly. We use gcov with --no-output to report which directory this is for given gcno files.
2012-11-07Handle skipped lines correctlyStef Walter
2012-11-06Support for running 'git coverage' in a subdirectoryStef Walter
2012-11-06Add usageStef Walter
2012-11-06Add python coverageStef Walter
2012-11-06Lots more work and cleanupStef Walter
2012-11-06Initial implementationStef Walter