gcov

gcov
cat file | mail klarke

#!/usr/bin/csh -f

 

set sandBox = $argv[1]

set gcov = /grid/common/pkgs/gcc/v4.4.3p1/bin/gcov

set genhtml = /grid/common/pkgs/lcov/v1.7/bin/genhtml

set lcov = /grid/common/pkgs/lcov/v1.7/bin/lcov

#cd fe/src

$lcov -z -d $sandBox/fe/src/ck/

#\cp /icd/shanghai/sna/CTS/FE101-gcov/tools.lnx86/fe/obj/64bit/ck/*.gc* /icd/shanghai/sna/CTS/FE101-gcov/fe/src/ck/

\cp $sandBox/tools.lnx86/fe/obj/64bit/ck/*.gc* $sandBox/fe/src/ck/

 

$lcov -c -d $sandBox/fe/src/ck/ --gcov-tool $gcov -o $sandBox/fe/src/ck/trace.info.orig

$lcov -r $sandBox/fe/src/ck/trace.info.orig -o $sandBox/fe/src/ck/trace.info /grid/\* /usr/\* 4\.\* include\* tools\.\* $genhtml --legend --no-prefix --show-details `find ck -name trace.info -print`

你可能感兴趣的:(gcov)