]> git.draconx.ca Git - slotifier.git/commitdiff
Explicitly disable leak sanitizer in the testsuite.
authorNick Bowler <nbowler@draconx.ca>
Thu, 15 Apr 2021 01:14:01 +0000 (21:14 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 15 Apr 2021 01:16:13 +0000 (21:16 -0400)
Building with -fsanitize=address also enables leak sanitizer, which
just causes all the test cases to fail for no good reason.

testsuite.at

index 885c2accc874e13b7bb806f945343acbcfbb3030..c67a28e84cae594ef41cda90ae6545921751990f 100644 (file)
@@ -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])