From 7cab8b826e705eba0d2347efec40272d65e713a8 Mon Sep 17 00:00:00 2001 From: Brad House Date: Wed, 1 Nov 2023 06:53:49 -0400 Subject: [PATCH] no reason to run LSAN, ASAN already does it --- .cirrus.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5d287f56..6da554bf 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -15,7 +15,6 @@ task: MAKE: "make" BUILD_ASAN: "yes" BUILD_UBSAN: "yes" - BUILD_LSAN: "yes" BUILD_VALGRIND: "yes" BUILD_COVERAGE: "yes" BUILD_ANALYZE: "yes" @@ -29,7 +28,6 @@ task: MAKE: "make" BUILD_ASAN: "yes" BUILD_UBSAN: "yes" - BUILD_LSAN: "yes" BUILD_ANALYZE: "yes" arm_container: image: debian:latest @@ -67,6 +65,7 @@ task: env: BUILD_TYPE: "autotools" - name: "ASAN" + # ASAN on Linux automatically includes Leak Sanitizer # FreeBSD just hangs trying to run tests, think it may be trying to run leak sanitizer only_if: $BUILD_ASAN == 'yes' env: @@ -86,16 +85,6 @@ task: CFLAGS: "-fsanitize=undefined -fno-sanitize-recover" CXXFLAGS: "-fsanitize=undefined -fno-sanitize-recover" LDFLAGS: "-fsanitize=undefined -lpthread" - - name: "LSAN" - # lsan only works on debian x86/x64 - only_if: $BUILD_LSAN == 'yes' - env: - BUILD_TYPE: "lsan" - CC: "clang" - CONFIG_OPTS: "--enable-debug" - CFLAGS: "-fsanitize=leak" - CXXFLAGS: "-fsanitize=leak" - LDFLAGS: "-fsanitize=leak -lpthread" - name: "ANALYZE" only_if: $BUILD_ANALYZE == 'yes' env: