*.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>
# 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