From e1a62f4018a58bf72f6c05666f2a810cb4ca7869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Mon, 5 Mar 2018 10:46:51 +0100 Subject: [PATCH] build-style/cmake.sh: fix default do_check --- common/build-style/cmake.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index 436b3ba2a9..b152c977f3 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -50,6 +50,8 @@ do_build() { } do_check() { + cd ${cmake_builddir:=build} + if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then if make -q test 2>/dev/null; then :