From a49cd26638308c8a75dfc4014f3dc1da3c7f3c3e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 27 Jun 2020 16:46:30 +0200 Subject: [PATCH] ci: don't run unittests with clang libcheck introduced a change in 0.15 which is incompatible with clang. --- tests/ci/run.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/ci/run.sh b/tests/ci/run.sh index 6cde2cfd..24a727ff 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -22,11 +22,16 @@ esac exit 1 } make all ${MAKE_ARGS-CFLAGS=-Werror} || make all ${MAKE_ARGS-CFLAGS=-Werror} V=1 -make check ${MAKE_ARGS-CFLAGS=-Werror} || { - [ ! -f tests/test-suite.log ] || cat tests/test-suite.log - exit 1 -} -make distcheck + +# Temporarily don't run checks with clang, due to libcheck incompatibility: +# See: +if [ "$CC" != clang ]; then + make check ${MAKE_ARGS-CFLAGS=-Werror} || { + [ ! -f tests/test-suite.log ] || cat tests/test-suite.log + exit 1 + } + make distcheck +fi case "$(uname -s)" in Darwin) -- 2.39.5