X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fexecute.sh;h=add0e78b1649c1245121c218945970c9d4cbf21b;hb=5178b0e51437699c0e2196c88712a79032a2732b;hp=902ba11c61f97250201b6b79bbf11bba818dfa7a;hpb=d9556f0576ca28a4d1189fa3b09fed0333a4bd49;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/execute.sh b/automated-tests/execute.sh index 902ba11..add0e78 100755 --- a/automated-tests/execute.sh +++ b/automated-tests/execute.sh @@ -77,9 +77,8 @@ fi rm -f tct*core-tests.xml # Clean up old coverage data -if [ -d ../build/tizen ] ; then - rm -f ../build/tizen/dali/.libs/*.gcda -fi +[ -d ../build/tizen ] && rm -f ../build/tizen/dali/.libs/*.gcda +[ -d ../build/tizen-cmake ] && find ../build/tizen-cmake/ -name \*.gcda -exec rm {} \; find build \( -name "*.gcda" \) -exec rm '{}' \; @@ -119,7 +118,7 @@ else do echo -e "$ASCII_BOLD" echo -e "Executing $mod$ASCII_RESET" - build/src/$mod/tct-$mod-core $opt_serial $opt_noFailedRerun + dbus-launch build/src/$mod/tct-$mod-core $opt_serial $opt_noFailedRerun done summary_end @@ -129,7 +128,7 @@ else summary_start module=$1 shift; - build/src/$module/tct-$module-core $opt_serial $opt_noFailedRerun $* + dbus-launch build/src/$module/tct-$module-core $opt_serial $opt_noFailedRerun $* summary_end else @@ -142,7 +141,7 @@ else if [ $ret -ne 6 ] ; then if [ $opt_debug -ne 0 ] ; then echo DEBUGGING: - gdb --args build/src/$mod/tct-$mod-core $1 + dbus-launch gdb --args build/src/$mod/tct-$mod-core $1 else echo $output