]> git.donarmstrong.com Git - lilypond.git/commitdiff
buildscripts/build-coverage: more automation.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 9 Jan 2007 14:40:55 +0000 (15:40 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 9 Jan 2007 14:40:55 +0000 (15:40 +0100)
buildscripts/build-coverage.sh

index b238202c050b9c134f1163e5e776bf29fc53a281..6e543860a3fc7ee0faa095c6aa08f6801d6520df 100755 (executable)
@@ -46,10 +46,17 @@ do
    gcov -o $depth/lily/out-cov/  -p $a > $a.gcov-summary
 done 
 
-cat <<EOF
+python $depth/buildscripts/coverage.py --uncovered *.cc > uncovered.txt
+python $depth/buildscripts/coverage.py --hotspots *.cc > hotspots.txt
+python $depth/buildscripts/coverage.py --summary *.cc > summary.txt
+
+head -20 summary.txt
 
-now run 
+cat <<EOF
+results in
 
-         python buildscripts/coverage.py --uncovered $resultdir/*.cc
+  out/coverage-results/summary.txt
+  out/coverage-results/uncovered.txt
+  out/coverage-results/hotspots.txt
 
 EOF