]> git.donarmstrong.com Git - lilypond.git/blob - buildscripts/build-coverage.sh
Make pure-height on accidentals ignore tied accidentals after breaks.
[lilypond.git] / buildscripts / build-coverage.sh
1 #!/bin/sh
2 ./configure --enable-config=cov --disable-optimising
3 make conf=cov -j2 clean
4 perl -i~ -pe 's/-pipe /-fprofile-arcs -ftest-coverage -pipe /g' config-cov.make
5 perl -i~ -pe 's/ -ldl / -lgcov -ldl /g' config-cov.make
6 make conf=cov -j2
7 make conf=cov test-clean LILYPOND_JOBS=          
8 make conf=cov test LILYPOND_JOBS= >& out-cov/test-run.log
9
10 cd out-cov
11 ln ../lily/* .
12 ln ../lily/out-cov/*[ch] .
13 mkdir include
14 ln ../lily/include/* include/
15 for a in *[cyl]
16 do
17    gcov -o ../lily/out-cov/  -p $a > $a.gcov-summary
18 done