Use gcovr for code coverage.