This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Lcov coverage of gfortran with the testsuite
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Thu, 25 May 2017 15:33:52 +0200
- Subject: Lcov coverage of gfortran with the testsuite
- Authentication-results: sourceware.org; auth=none
Hello world,
I just looked at
https://gcc.gnu.org/ml/gcc/2017-04/msg00136.html
where Martin Liska shared some results about testsuite
coverage of gcc. Quite interesting. Some remarks:
We seem to have quite good coverage overall.
Many of the lines which are never reached are stuff ike internal errors
or gcc_unreachable, which is sort of the point.
Other areas which are not covered deal with specific features, or, more
common, error conditions. It might be a good idea to write test cases
that specifically test these code paths. So, if anybody has a few
minutes...
Regards
Thomas