]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
ci: try to run make check even with clang fix/check-clang
authorVincent Bernat <vincent@bernat.ch>
Thu, 10 Mar 2022 20:44:56 +0000 (21:44 +0100)
committerVincent Bernat <vincent@bernat.ch>
Thu, 10 Mar 2022 20:44:56 +0000 (21:44 +0100)
The mentioned issue has been solved.

tests/ci/run.sh

index e1d36f3ecb95bca6ba4fd35a5d45d41aa668c9d7..5f619c04cbd94772118240d3fb9ee643c77dea87 100755 (executable)
@@ -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: <https://github.com/libcheck/check/issues/276>
-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)