From: Ben Pfaff Date: Sat, 26 Dec 2020 05:55:57 +0000 (-0800) Subject: doc: Suppress fontconfig warnings from Leak Sanitizer running pspp-output. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=cb3c3f916a0ef91a758aa3b6795ad8fb038d00af doc: Suppress fontconfig warnings from Leak Sanitizer running pspp-output. Otherwise building the docs fails if one builds with Address Sanitizer or Leak Sanitizer. --- diff --git a/doc/automake.mk b/doc/automake.mk index 5efe61228b..4ec6b5dcae 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -210,7 +210,7 @@ $(FIGURE_SPVS): $(pspp) $(AM_V_at)mv $@.tmp $@ # In some cases, the tutorial only wants some parts of the output. -convert = $(AM_V_GEN)$(pspp_output) convert $< $@ +convert = $(AM_V_GEN)LSAN_OPTIONS="suppressions=$(abs_top_srcdir)/tests/lsan.supp:print_suppressions=0:$$LSAN_OPTIONS" $(pspp_output) convert $< $@ doc/pspp-figures/tutorial2a.spv: doc/pspp-figures/tutorial2.spv $(pspp_output) $(convert) --command='Descriptives' doc/pspp-figures/tutorial2b.spv: doc/pspp-figures/tutorial2.spv $(pspp_output)