From ebc07fd6dbeda9fc3badd75039a681b3133ef832 Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Mon, 10 Jan 2022 18:58:12 +0100 Subject: [PATCH] ci: Suppress libSDL memory leaks. [no changelog] --- ci/test.yml | 1 + core/asan_suppressions.txt | 1 + 2 files changed, 2 insertions(+) create mode 100644 core/asan_suppressions.txt diff --git a/ci/test.yml b/ci/test.yml index 59fe11b9d..1993ee200 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -29,6 +29,7 @@ core unit test asan: variables: RUSTC_BOOTSTRAP: "1" RUSTFLAGS: "-Z sanitizer=address" + LSAN_OPTIONS: "suppressions=../../asan_suppressions.txt" script: - nix-shell --run "poetry run make -C core test | ts -s" - nix-shell --run "poetry run make -C core test_rust | ts -s" diff --git a/core/asan_suppressions.txt b/core/asan_suppressions.txt new file mode 100644 index 000000000..539b02f59 --- /dev/null +++ b/core/asan_suppressions.txt @@ -0,0 +1 @@ +leak:libSDL