2 export LD_LIBRARY_PATH
=$LD_LIBRARY_PATH:..
/..
/build
/default
/libs
/evoral
3 if [ ! -f './test/testdata/TakeFive.mid' ]; then
4 echo "This script must be run from within the libs/evoral directory";
10 # Make symlink to TakeFive.mid in build directory
11 cd ..
/..
/build
/default
/libs
/evoral
12 mkdir
-p .
/test
/testdata
13 ln -fs $srcdir/test
/testdata
/TakeFive.mid \
14 .
/test
/testdata
/TakeFive.mid
18 lcov
-d .
/src
-d .
/test -b ..
/..
/..
-c > coverage.lcov
19 lcov
-r coverage.lcov
*boost
* *c
++* *usr
/include
* -o coverage.lcov
21 genhtml
-o coverage coverage.lcov
25 #rm -r coverage/cppunit
26 #rm -r coverage/glibmm-2.4
27 #rm -r coverage/sigc++-2.0
28 echo "Report written to:"
29 echo "../../build/default/libs/evoral/coverage/index.html"