Skip to content

Commit e40b068

Browse files
committed
Tests: update leak suppresions for latest dependencies
1 parent 2c46528 commit e40b068

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

test/leak/leak.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ for test in ./test/unit/*.js; do
1616
--show-leak-kinds=definite,indirect,possible \
1717
--num-callers=20 \
1818
--trace-children=yes \
19-
node --expose-gc node_modules/.bin/mocha --slow=60000 --timeout=120000 --file test/unit/beforeEach.js "$test";
19+
node --expose-gc node_modules/.bin/mocha --no-config --slow=60000 --timeout=120000 --require test/beforeEach.js "$test";
2020
done

test/leak/sharp.supp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,13 @@
349349
fun:heif_context_read_from_reader
350350
}
351351

352+
# orc
353+
{
354+
addr_orcexec
355+
Memcheck:Addr1
356+
obj:*/orcexec.*
357+
}
358+
352359
# libvips
353360
{
354361
cond_libvips_interpolate_lbb
@@ -945,3 +952,13 @@
945952
fun:_ZN4node7binding6DLOpenERKN2v820FunctionCallbackInfoINS1_5ValueEEE
946953
fun:_ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEESA_NS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EENS0_16BuiltinArgumentsE
947954
}
955+
{
956+
addr_node_binding_dlopen_strncmp
957+
Memcheck:Addr8
958+
fun:strncmp
959+
fun:is_dst
960+
...
961+
fun:dlopen_implementation
962+
...
963+
fun:_ZNSt17_Function_handlerIFbPN4node7binding4DLibEEZNS1_6DLOpenERKN2v820FunctionCallbackInfoINS5_5ValueEEEEUlS3_E_E9_M_invokeERKSt9_Any_dataOS3_
964+
}

0 commit comments

Comments
 (0)