Tests: update leak suppressions for latest versions

This commit is contained in:
Lovell Fuller 2022-08-23 09:38:51 +01:00
parent c3a852eecf
commit 8583eb1235
2 changed files with 39 additions and 1 deletions

View File

@ -232,6 +232,14 @@
fun:XML_ParseBuffer
obj:*/libfontconfig.so.*
}
{
leak_fontconfig_XML_ParseBuffer_indirect
Memcheck:Leak
match-leak-kinds: indirect
...
fun:XML_ParseBuffer
obj:*/libfontconfig.so.*
}
{
leak_fontconfig_FcInitLoadConfigAndFonts
Memcheck:Leak
@ -242,6 +250,36 @@
...
fun:FcInitLoadConfigAndFonts
}
{
leak_fontconfig_FcDefaultSubstitute
Memcheck:Leak
match-leak-kinds: indirect
fun:calloc
...
fun:FcDefaultSubstitute
...
fun:pango_itemize_with_base_dir
...
fun:pango_layout_get_pixel_extents
fun:vips_text_get_extents
}
{
leak_fontconfig_FcLangSetCreate
Memcheck:Leak
match-leak-kinds: indirect
fun:malloc
fun:FcLangSetCreate
fun:FcLangSetCopy
fun:FcValueSave
...
fun:FcFontRenderPrepare
fun:FcFontMatch
...
fun:pango_itemize_with_base_dir
...
fun:pango_layout_get_pixel_extents
fun:vips_text_get_extents
}
# heif
{

View File

@ -4,7 +4,7 @@ const detectLibc = require('detect-libc');
const sharp = require('../../');
const libcFamily = detectLibc.familySync();
const usingCache = libcFamily !== detectLibc.MUSL;
const usingCache = !(process.env.G_DEBUG || libcFamily === detectLibc.MUSL);
const usingSimd = !(process.env.G_DEBUG || process.env.VIPS_NOVECTOR);
const concurrency = process.env.VIPS_CONCURRENCY ||
(libcFamily === detectLibc.MUSL || process.arch === 'arm' ? 1 : undefined);