build: support to select tslist 14/208614/1
authorYeongjong Lee <yj34.lee@samsung.com>
Wed, 26 Jun 2019 11:39:42 +0000 (20:39 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Wed, 26 Jun 2019 11:39:42 +0000 (20:39 +0900)
You can select specific tslist in tet_scen. for example,

```
all
^TEST-build

TEST-build
/eina/eina_xattr/tslist
/eina/eina_file/tslist
/eio/eio_file/tslist
/evas/canvas/evas_focus/tslist

```

Change-Id: I5f0ed1274e05e5153fabdc19b07395b6f14c5248

TC/build.sh

index 87f6b0138b8598fe3b9ecd38fae11fe56ebc0ec8..ea6c00576a129561d20d4f32d0b58c490d34b7ff 100755 (executable)
@@ -147,41 +147,6 @@ while read line_libs; do
                        then
                                echo "End modules build Lib Scen";
                                echo $line_scen;
-                               if [[ "$line_libs" =~ "ELEMENTARY" ]]; then
-                                       cd elementary
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               elif [[ "$line_libs" =~ "EINA" ]]; then
-                                       cd eina
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               elif [[ "$line_libs" =~ "ECORE" ]]; then
-                                       cd ecore
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               elif [[ "$line_libs" =~ "EIO" ]]; then
-                                       cd eio
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               elif [[ "$line_libs" =~ "EET" ]]; then
-                                       cd eet
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               elif [[ "$line_libs" =~ "EDJE" ]]; then
-                                       cd edje
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               elif [[ "$line_libs" =~ "EVAS" ]]; then
-                                       cd evas
-                                       ./build.sh &> "result.txt"
-                                       cd ..
-                               fi
-                               for i in $(find -name 'result.txt'); do
-                                       if [[ `grep 'Error 1' < $i` ]]; then
-                                               cat $i
-                                               exit 1
-                                       fi
-                               done
                                isBuildScen=0
                                break;
                        fi
@@ -244,6 +209,33 @@ while read line_libs; do
        done < $filename
 done < $FileLibsScen
 
+cd elementary
+./build.sh &> "result.txt"
+cd ..
+cd eina
+./build.sh &> "result.txt"
+cd ..
+cd ecore
+./build.sh &> "result.txt"
+cd ..
+cd eio
+./build.sh &> "result.txt"
+cd ..
+cd eet
+./build.sh &> "result.txt"
+cd ..
+cd edje
+./build.sh &> "result.txt"
+cd ..
+cd evas
+./build.sh &> "result.txt"
+cd ..
+for i in $(find -name 'result.txt'); do
+   if [[ `grep 'Error 1' < $i` ]]; then
+      cat $i
+      exit 1
+   fi
+done
 #write build journal
 touch "$JOURNAL_RESULT"