From 3a4354c770343e6e69f293bef00612c05df31654 Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Sun, 24 Mar 2019 16:45:08 +0800 Subject: [PATCH] ci: fix cmake example build fail --- tools/ci/build_examples_cmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/build_examples_cmake.sh b/tools/ci/build_examples_cmake.sh index 5772a81d11..fd81d0d770 100755 --- a/tools/ci/build_examples_cmake.sh +++ b/tools/ci/build_examples_cmake.sh @@ -143,7 +143,7 @@ build_example () { else rm -rf build && ./build.sh >>${BUILDLOG} 2>&1 - fi && + fi || { RESULT=$?; FAILED_EXAMPLES+=" ${EXAMPLE_NAME}" ; }