X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fbuild.sh;h=7e812e1379cb09fbb7b65228c078297259ae8587;hp=7c7584bff2ce3955fede793455ee5a96610928dd;hb=cc2f88a5667c1a0cd19e6fd4756bb50d55128889;hpb=55d1df73f96208cdb37517e5115f8b632c250040 diff --git a/automated-tests/build.sh b/automated-tests/build.sh index 7c7584b..7e812e1 100755 --- a/automated-tests/build.sh +++ b/automated-tests/build.sh @@ -1,7 +1,7 @@ #!/bin/bash -TEMP=`getopt -o rn --long rebuild,no-gen \ +TEMP=`getopt -o r --long rebuild \ -n 'genmake' -- "$@"` if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi @@ -10,12 +10,10 @@ if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi eval set -- "$TEMP" opt_rebuild=false -opt_generate=true while true ; do case "$1" in -r|--rebuild) opt_rebuild=true ; shift ;; - -n|--no-gen) opt_generate=false ; shift ;; --) shift ; break ;; *) shift ;; # Ignore esac @@ -28,10 +26,6 @@ fi function build { - if [ $opt_generate == true -o $opt_rebuild == false ] ; then - (cd src/$1; ../../scripts/tcheadgen.sh tct-$1-core.h) - if [ $? -ne 0 ]; then echo "Aborting..."; exit 1; fi - fi (cd build ; cmake .. -DMODULE=$1 ; make -j7 ) } @@ -48,3 +42,6 @@ else fi done fi + +echo "Build succeeded" +exit 0