Oct 14 2007 Coverage Analysis in Testing Back

'gcov' and Coverage of XS Code

            HARNESS_PERL_SWITCHES=-MDevel::Cover make test \
               CCFLAGS=-O0\ -fprofile-arcs\ -ftest-coverage \
               OTHERLDFLAGS=-fprofile-arcs\ -ftest-coverage
            gcov Mylib.xs
            gcov2perl Mylib.xs.gcov


Home Last TOC Copyright © 2007 James E Keenan Back Next