Merge "Changed 'virtual' function override declarations to 'override' in automated...
[platform/core/uifw/dali-toolkit.git] / automated-tests / build.sh
index 6c817ae..2f92135 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+
 TEMP=`getopt -o rn --long rebuild,no-gen \
      -n 'genmake' -- "$@"`
 
@@ -43,6 +44,10 @@ else
     if [ $mod != 'common' ] && [ $mod != 'manual' ]; then
         echo BUILDING $mod
         build $mod
+        if [ $? -ne 0 ]; then echo "Build failed" ; exit 1; fi
     fi
   done
 fi
+
+echo "Build succeeded"
+exit 0