From: Magnus Jacobsson <Magnus.Jacobsson@berotec.se>
Date: Sun, 2 May 2021 13:02:48 +0000 (+0200)
Subject: Disable detection of ODR violations in Ubuntu 21.04 ASan test
X-Git-Tag: 2.47.2~18^2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f6a0df735ea110e874df2f527cd73fa0a3d37a0;p=graphviz

Disable detection of ODR violations in Ubuntu 21.04 ASan test

The mm2gv tools currently fails otherwise.
---

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f2d9a7ea..d1873f71c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -756,7 +756,7 @@ ubuntu21.04-cmake-ASan-test:
         - export LDFLAGS=" -g -fsanitize=address,undefined"
         # FIXME: remove the following when Graphviz can pass the test suite
         # leak-free
-        - export ASAN_OPTIONS=detect_leaks=0,alloc_dealloc_mismatch=0
+        - export ASAN_OPTIONS=detect_leaks=0,alloc_dealloc_mismatch=0,detect_odr_violation=0
         - echo experimental > COLLECTION
     needs:
         - job: portable-source