Re: [eigen] Code coverage and templates

[ Thread Index | Date Index | More Archives ]

This SO answer
suggests that explicitly instantiating the template classes to be tested should work.


Am 09.02.2015 um 10:59 schrieb Gael Guennebaud:

does anyone know how to get better code coverage outputs from gcov in the
case of inlining and templates? In particular, we should find a way to
include *all* functions. For instance, the specialization of
Block<SparseMatrix> included a few un-tested and un-compiled functions even
though gcov returns a coverage of 100%. See:

lines 169-187. Incidentally, some of these functions were broken...


Dipl.-Inf., Dipl.-Math. Christoph Hertzberg
Cartesium 0.049
Universität Bremen
Enrique-Schmidt-Straße 5
28359 Bremen

Tel: +49 (421) 218-64252

Mail converted by MHonArc 2.6.19+