ecore: support utc_ecore build
authorYeongJong Lee <yj34.lee@samsung.com>
Mon, 9 Jul 2018 07:19:20 +0000 (16:19 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Fri, 13 Jul 2018 10:51:56 +0000 (19:51 +0900)
Change-Id: I239773f35f7480a928dff5a3f9375137789095c4

TC/build.sh
TC/execute.sh

index 3549e9f82b6bb62b4920f7777c625bf000c546a0..5fb471644ed2907d024204ecef83de60ce1e7c33 100755 (executable)
@@ -155,6 +155,10 @@ while read line_libs; do
                                        cd eina
                                        ./build.sh &> "result.txt"
                                        cd ..
+                               elif [[ "$line_libs" =~ "ECORE" ]]; then
+                                       cd ecore
+                                       ./build.sh &> "result.txt"
+                                       cd ..
                                fi
                                isBuildScen=0
                                break;
index 835ea1d09339d9f4259d252bedc71f3464eb7fe5..c16ce7be41d30112da3ce993598c388946e4e598 100755 (executable)
@@ -128,10 +128,7 @@ fi
 print_checklist_pre
 
 ## Smack rules
-chsmack -e 'System' /opt/usr/efl-test-suite/TC/ecore/ecore_con/utc_ecore_con_server_add
-chsmack -e 'System' /opt/usr/efl-test-suite/TC/ecore/ecore_con/utc_ecore_con_server_flush
-chsmack -e 'System' /opt/usr/efl-test-suite/TC/ecore/ecore_con/utc_ecore_con_server_uptime_get
-chsmack -e 'System' /opt/usr/efl-test-suite/TC/ecore/ecore_con/utc_ecore_con_url
+chsmack -e 'System' /opt/usr/efl-test-suite/TC/ecore/utc_ecore
 chsmack -e 'System' /opt/usr/efl-test-suite/TC/elementary/utc_elm
 
 export TET_SUITE_ROOT=`pwd`
@@ -163,6 +160,7 @@ FileLibsScen=$SCENS_DIR/libs_that_sould_be_exec.txt
 
 elm_exception_list="elementary/elm_exception_list"
 eina_exception_list="eina/eina_exception_list"
+ecore_exception_list="ecore/ecore_exception_list"
 filename="tet_scen"
 echo Start
 
@@ -296,6 +294,15 @@ while read line_libs; do
                                        ./utc_eina
                                        cd ..
                                        rm $eina_exception_list
+                               elif [[ "$line_libs" =~ "ECORE" ]]; then
+                                       sed -i 's/ //g' $ecore_exception_list
+                                       sed -i 's/#//g' $ecore_exception_list
+                                       sed -i 's/DEPRECATED//g' $ecore_exception_list
+                                       sed -i 's/\.c//g' $ecore_exception_list
+                                       cd ecore
+                                       ./utc_ecore
+                                       cd ..
+                                       rm $ecore_exception_list
                                fi
                                echo "End modules execute Lib Scen";
                                echo $line_scen;
@@ -357,6 +364,9 @@ while read line_libs; do
                                elif [[ "$line_libs" =~ "EINA" ]]; then
                                        awk '/#/' $path_line_to_tslist >> $eina_exception_list
                                        continue;
+                               elif [[ "$line_libs" =~ "ECORE" ]]; then
+                                       awk '/#/' $path_line_to_tslist >> $ecore_exception_list
+                                       continue;
                                fi
 
                                #remove lines