Reducing control size from 256 bytes to 224 by reordering data members and bitfieldin...
[platform/core/uifw/dali-toolkit.git] / automated-tests / execute.sh
index ec5c9e2..3b5bd62 100755 (executable)
@@ -2,7 +2,7 @@
 
 function execute
 {
-    scripts/tctestsgen.sh $1 `pwd` desktop
+    scripts/tctestsgen.sh $1 `pwd` desktop $2
     testkit-lite -f `pwd`/tests.xml -o tct-${1}-core-tests.xml  -A --comm localhost
     scripts/add_style.pl $1
 }
@@ -12,14 +12,14 @@ rm -f tct*core-tests.xml
 
 if [ -n "$1" ] ; then
   echo EXECUTING ONLY $1
-  execute $1
+  execute $*
 
 else
   for mod in `ls -1 src/ | grep -v CMakeList `
   do
     if [ $mod != 'common' ] && [ $mod != 'manual' ]; then
         echo EXECUTING $mod
-        execute $mod
+        execute $mod $*
     fi
   done
 fi