Updated automated test scripts for faster cycle time
[platform/core/uifw/dali-toolkit.git] / automated-tests / execute.sh
index 3b5bd62..3bd6b06 100755 (executable)
@@ -10,6 +10,15 @@ function execute
 # Clean up old test results
 rm -f tct*core-tests.xml
 
+# Clean up old coverage data
+if [ -d ../build/slp ] ; then
+    rm -f ../build/slp/dali-core/.libs/*.gcda
+elif [ -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
   execute $*