Coverage fix for test cases execute script. 69/24369/2
authorVictor Cebollada <v.cebollada@samsung.com>
Fri, 11 Jul 2014 08:21:18 +0000 (09:21 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Fri, 11 Jul 2014 09:31:22 +0000 (10:31 +0100)
*.gcno files are deleted every time the execute.sh script is run.
These files are needed to run the coverage script and they are generated only when DALi or test cases are built.

Change-Id: I7c6a4fb491d7586aff4dfc4be2c40b53f0e44bc1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
automated-tests/execute.sh

index 7e0b7dc..a2018fc 100755 (executable)
@@ -13,13 +13,11 @@ rm -f tct*core-tests.xml
 # Clean up old coverage data
 if [ -d ../build/slp ] ; then
     rm -f ../build/slp/dali-core/.libs/*.gcda
-    rm -f ../build/slp/dali-core/.libs/*.gcno
 elif [ -d ../build/tizen ] ; then
     rm -f ../build/tizen/dali-core/.libs/*.gcda
-    rm -f ../build/tizen/dali-core/.libs/*.gcno
 fi
 
-find build \( -name "*.gcda" -o -name "*.gcno" \) -exec rm '{}' \;
+find build \( -name "*.gcda" \) -exec rm '{}' \;
 
 if [ -n "$1" ] ; then
   echo EXECUTING ONLY $1