From: Nick Bowler Date: Thu, 15 Apr 2021 01:14:01 +0000 (-0400) Subject: Explicitly disable leak sanitizer in the testsuite. X-Git-Tag: v1.2~5 X-Git-Url: https://git.draconx.ca/gitweb/slotifier.git/commitdiff_plain/f0485d8666de9bbf155f247c9b3137159af69dab Explicitly disable leak sanitizer in the testsuite. Building with -fsanitize=address also enables leak sanitizer, which just causes all the test cases to fail for no good reason. --- diff --git a/testsuite.at b/testsuite.at index 885c2ac..c67a28e 100644 --- a/testsuite.at +++ b/testsuite.at @@ -18,5 +18,10 @@ AT_COLOR_TESTS AT_TESTED([slotifier]) +m4_divert_push([PREPARE_TESTS])dnl +: "${ASAN_OPTIONS=detect_leaks=0}" +export ASAN_OPTIONS +m4_divert_pop([PREPARE_TESTS]) + m4_include([tests/simple.at]) m4_include([tests/misc.at])