X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fbuild.sh;h=2f921352e3a6520e4d5c682acfd6e65ca00ea222;hb=0db96577889fb05af9084b01ef137c5ba8850158;hp=becb278afa304965bef1f3ac595d1cd3c46146c4;hpb=be1e0b65aef4010eb4a649c1787966918aea6167;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/automated-tests/build.sh b/automated-tests/build.sh index becb278..2f92135 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,enable-profile: \ +TEMP=`getopt -o rn --long rebuild,no-gen \ -n 'genmake' -- "$@"` if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi @@ -11,13 +11,11 @@ eval set -- "$TEMP" opt_rebuild=false opt_generate=true -enable_profile="" while true ; do case "$1" in -r|--rebuild) opt_rebuild=true ; shift ;; -n|--no-gen) opt_generate=false ; shift ;; - --enable-profile) enable_profile=$2 ; shift ;; --) shift ; break ;; *) shift ;; # Ignore esac @@ -34,7 +32,7 @@ function build (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 -DENABLE_PROFILE=$enable_profile; make -j7 ) + (cd build ; cmake .. -DMODULE=$1 ; make -j7 ) } if [ -n "$1" ] ; then @@ -50,3 +48,6 @@ else fi done fi + +echo "Build succeeded" +exit 0