From: Vincent Bernat Date: Thu, 10 Mar 2022 20:44:56 +0000 (+0100) Subject: ci: try to run make check even with clang X-Git-Tag: 1.0.14~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Ffix%2Fcheck-clang;p=thirdparty%2Flldpd.git ci: try to run make check even with clang The mentioned issue has been solved. --- diff --git a/tests/ci/run.sh b/tests/ci/run.sh index e1d36f3e..5f619c04 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -24,16 +24,11 @@ esac exit 1 } make all ${MAKE_ARGS-CFLAGS=-Werror} || make all ${MAKE_ARGS-CFLAGS=-Werror} V=1 - -# 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 +make check ${MAKE_ARGS-CFLAGS=-Werror} || { + [ ! -f tests/test-suite.log ] || cat tests/test-suite.log + exit 1 +} +make distcheck case "$(uname -s)" in Darwin)