projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "(AutomatedTests) Removed Zero Ruler test as it is no longer possible to create...
[platform/core/uifw/dali-toolkit.git]
/
automated-tests
/
execute.sh
diff --git
a/automated-tests/execute.sh
b/automated-tests/execute.sh
index
ec5c9e2
..
aedd933
100755
(executable)
--- a/
automated-tests/execute.sh
+++ b/
automated-tests/execute.sh
@@
-2,7
+2,7
@@
function execute
{
function execute
{
- scripts/tctestsgen.sh $1 `pwd` desktop
+ scripts/tctestsgen.sh $1 `pwd` desktop
$2
testkit-lite -f `pwd`/tests.xml -o tct-${1}-core-tests.xml -A --comm localhost
scripts/add_style.pl $1
}
testkit-lite -f `pwd`/tests.xml -o tct-${1}-core-tests.xml -A --comm localhost
scripts/add_style.pl $1
}
@@
-10,16
+10,23
@@
function execute
# Clean up old test results
rm -f tct*core-tests.xml
# Clean up old test results
rm -f tct*core-tests.xml
+# Clean up old coverage data
+if [ -d ../build/tizen ] ; then
+ rm -f ../build/tizen/dali-core/.libs/*.gcda
+fi
+
+find build -name "*.gcda" -exec rm '{}' \;
+
if [ -n "$1" ] ; then
echo EXECUTING ONLY $1
if [ -n "$1" ] ; then
echo EXECUTING ONLY $1
- execute $
1
+ execute $
*
else
for mod in `ls -1 src/ | grep -v CMakeList `
do
if [ $mod != 'common' ] && [ $mod != 'manual' ]; then
echo EXECUTING $mod
else
for mod in `ls -1 src/ | grep -v CMakeList `
do
if [ $mod != 'common' ] && [ $mod != 'manual' ]; then
echo EXECUTING $mod
- execute $mod
+ execute $mod
$*
fi
done
fi
fi
done
fi