From: Victor Cebollada Date: Fri, 11 Jul 2014 08:21:18 +0000 (+0100) Subject: Coverage fix for test cases execute script. X-Git-Tag: dali_1.0.1~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13ff828808fb21f2328bc527de5ebae2c1814f34;p=platform%2Fcore%2Fuifw%2Fdali-core.git Coverage fix for test cases execute script. *.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 --- diff --git a/automated-tests/execute.sh b/automated-tests/execute.sh index 7e0b7dc7c..a2018fcc5 100755 --- a/automated-tests/execute.sh +++ b/automated-tests/execute.sh @@ -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