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`
posted on 2011-03-16 12:53
Klarke 阅读(307)
评论(0) 编辑 收藏 引用