]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable tracing for gcovr-enabled builds
authorMichal Nowak <mnowak@isc.org>
Tue, 26 Nov 2024 14:49:15 +0000 (15:49 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 12 Dec 2024 14:49:37 +0000 (15:49 +0100)
gcovr has issues with processing files produced as part of a BIND 9
build with tracing support enabled (--enable-tracing).  Depending on the
gcovr version used, these issues may result in either warnings or
failures being reported by that tool.  Disable tracing support for
gcovr-enabled builds to work around these issues.

.gitlab-ci.yml

index 8d74a38c680be2b8400679617b428b4929d3c36e..ac63df4c2da3e0ca31405bfbb746f8ad7564b8e2 100644 (file)
@@ -902,7 +902,8 @@ gcc:bookworm:amd64:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON} --coverage -O0"
-    EXTRA_CONFIGURE: "--with-libidn2 ${WITH_READLINE_LIBEDIT}"
+    # Tracing needs to be disabled otherwise gcovr fails
+    EXTRA_CONFIGURE: "--with-libidn2 ${WITH_READLINE_LIBEDIT} --disable-tracing"
     RUN_MAKE_INSTALL: 1
   <<: *debian_bookworm_amd64_image
   <<: *build_job