From: Vincent Bernat Date: Sat, 27 Jun 2020 14:46:30 +0000 (+0200) Subject: ci: don't run unittests with clang X-Git-Tag: 1.0.6~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Ffix%2Fallowlist;p=thirdparty%2Flldpd.git ci: don't run unittests with clang libcheck introduced a change in 0.15 which is incompatible with clang. --- 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)