Changed build directory to tizen
[platform/core/uifw/dali-core.git] / automated-tests / coverage.sh
1 #!/bin/bash
2
3 ( cd ../build/tizen ; make cov_data )
4
5
6 for i in `find . -name "*.dir"` ; do
7     (
8         cd $i
9         echo `pwd`
10         covs=( `ls *.gcda 2>/dev/null` )
11         if [[ $? -eq 0 ]]
12         then
13             lcov --directory . -c -o dali.info
14             lcov --remove dali.info "*boost*" "/usr/include/*" "*/automated-tests/*" -o dali.info
15         fi
16     )
17 done
18
19 (
20     cd .. ;
21     genhtml -o build/tizen/doc/coverage `find . -name dali.info`
22 )