tests: Add valgrind and Leak Sanitizer suppression files.
[pspp] / tests / atlocal.in
index 2a8a0eafbe014bc008ffaf06f39f33642f40a6cf..da7707139c8f753df5cfcf0c519141254b42e8ad 100644 (file)
@@ -76,3 +76,7 @@ if test X"$RUNNER" = Xwine; then
         $pspp_diff -w  "$@"
     }
 fi
+
+# Enable leak suppressions for Address Sanitizer/Leak Sanitizer.
+LSAN_OPTIONS="suppressions=$abs_top_srcdir/tests/lsan.supp print_suppressions=0"
+export LSAN_OPTIONS