summaryrefslogtreecommitdiff
path: root/vcl/CppunitTest_vcl_wmf_test.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 14:35:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 14:35:17 +0200
commitfa15256e3d12aab1eaf5991c016fc10dea286675 (patch)
treeae8ae56cd296277caf12456886f145bee7ade60f /vcl/CppunitTest_vcl_wmf_test.mk
parentc06d77c5eb57c1a7f5692028b6b04132593f9156 (diff)
Hack for shaky VCL test under ASan
Change-Id: I0c89d1c23ddc1d0d6cd98d95ef31622a30d4862b
Diffstat (limited to 'vcl/CppunitTest_vcl_wmf_test.mk')
-rw-r--r--vcl/CppunitTest_vcl_wmf_test.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/CppunitTest_vcl_wmf_test.mk b/vcl/CppunitTest_vcl_wmf_test.mk
index d63d0b9b31a7..51e912661033 100644
--- a/vcl/CppunitTest_vcl_wmf_test.mk
+++ b/vcl/CppunitTest_vcl_wmf_test.mk
@@ -224,4 +224,11 @@ $(call gb_CppunitTest_get_target,vcl_wmf_test): \
$(call gb_Library_get_target,desktop_detector)
endif
+# Hack to suppress ASan ODR violation warnings about symbols present in both the
+# vcl objects linked into this test library and the vcl library (which gets
+# dynamically loaded during the test):
+$(call gb_CppunitTest_get_target,vcl_wmf_test): \
+ EXTRA_ENV_VARS := \
+ ASAN_OPTIONS="$${ASAN_OPTIONS+$$ASAN_OPTIONS:}"detect_odr_violation=0
+
# vim: set noet sw=4 ts=4: