]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: ignore ASAN leak in cqueues
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 26 Feb 2019 11:05:09 +0000 (12:05 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:37 +0000 (10:43 +0100)
.gitlab-ci.yml
tests/asan.suppr [new file with mode: 0644]

index dbeb8ea6aaa33c09d1b70c4ff93948232a7c4f03..25ee42bc430c059085482ec9539f055354037699 100644 (file)
@@ -60,7 +60,7 @@ build-asan:
     - meson build_ci_asan --default-library=static --prefix=$PREFIX -Db_sanitize=address,undefined -Dpostinstall_tests=enabled
     - ninja -C build_ci_asan
     - ninja -C build_ci_asan install >/dev/null
-    - ${MESON_TEST} --suite unit --suite config
+    - LSAN_OPTIONS=suppressions=$PWD/tests/asan.suppr ${MESON_TEST} --suite unit --suite config
   # TODO remove allow_failure and privileged
   allow_failure: true
   tags:
diff --git a/tests/asan.suppr b/tests/asan.suppr
new file mode 100644 (file)
index 0000000..999d759
--- /dev/null
@@ -0,0 +1,2 @@
+# Ignore leak in cqueues
+leak:_cqueues.so