build-style/cmake.sh: fix default do_check

This commit is contained in:
Piotr Wójcik 2018-03-05 10:46:51 +01:00 committed by Toyam Cox
parent 494ec83050
commit e1a62f4018

View file

@ -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
: