(Builder) Ensure properties are not applied twice
[platform/core/uifw/dali-toolkit.git] / automated-tests / execute.sh
1 #!/bin/bash
2
3 function execute
4 {
5     scripts/tctestsgen.sh $1 `pwd` desktop $2
6     testkit-lite -f `pwd`/tests.xml -o tct-${1}-core-tests.xml  -A --comm localhost
7     scripts/add_style.pl $1
8 }
9
10 # Clean up old test results
11 rm -f tct*core-tests.xml
12
13 # Clean up old coverage data
14 if [ -d ../build/tizen ] ; then
15     rm -f ../build/tizen/dali-core/.libs/*.gcda
16 fi
17
18 find build -name "*.gcda" -exec rm '{}' \;
19
20 if [ -n "$1" ] ; then
21   echo EXECUTING ONLY $1
22   execute $*
23
24 else
25   for mod in `ls -1 src/ | grep -v CMakeList `
26   do
27     if [ $mod != 'common' ] && [ $mod != 'manual' ]; then
28         echo EXECUTING $mod
29         execute $mod $*
30     fi
31   done
32 fi
33
34 scripts/summarize.pl