projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[dali_1.2.51] Merge branch 'devel/master'
[platform/core/uifw/dali-core.git]
/
automated-tests
/
coverage.sh
diff --git
a/automated-tests/coverage.sh
b/automated-tests/coverage.sh
index
c5fbed7
..
a4cad67
100755
(executable)
--- a/
automated-tests/coverage.sh
+++ b/
automated-tests/coverage.sh
@@
-1,5
+1,10
@@
#!/bin/bash
#!/bin/bash
+opt_genhtml=true
+if [ $1 == -n ] ; then
+ opt_genhtml=false
+fi
+
( cd ../build/tizen ; make cov_data )
# From lcov version 1.10 onwards, branch coverage is off by default and earlier versions do not support the rc option
( cd ../build/tizen ; make cov_data )
# From lcov version 1.10 onwards, branch coverage is off by default and earlier versions do not support the rc option
@@
-23,8
+28,9
@@
for i in `find . -name "*.dir"` ; do
done
(
done
(
- cd .. ;
- genhtml $LCOV_OPTS -o build/tizen/doc/coverage `find . -name dali.info`
+ if [ $opt_genhtml == true ] ; then
+ cd .. ;
+ genhtml $LCOV_OPTS -o build/tizen/doc/coverage `find . -name dali.info`
+ echo "Coverage output: ../build/tizen/doc/coverage/index.html"
+ fi
)
)
-
-echo "Coverage output: ../build/tizen/doc/coverage/index.html"