Skip to content

Commit

Permalink
Tests: update leak suppresions for latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Dec 14, 2022
1 parent 2c46528 commit e40b068
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/leak/leak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ for test in ./test/unit/*.js; do
--show-leak-kinds=definite,indirect,possible \
--num-callers=20 \
--trace-children=yes \
node --expose-gc node_modules/.bin/mocha --slow=60000 --timeout=120000 --file test/unit/beforeEach.js "$test";
node --expose-gc node_modules/.bin/mocha --no-config --slow=60000 --timeout=120000 --require test/beforeEach.js "$test";
done
17 changes: 17 additions & 0 deletions test/leak/sharp.supp
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,13 @@
fun:heif_context_read_from_reader
}

# orc
{
addr_orcexec
Memcheck:Addr1
obj:*/orcexec.*
}

# libvips
{
cond_libvips_interpolate_lbb
Expand Down Expand Up @@ -945,3 +952,13 @@
fun:_ZN4node7binding6DLOpenERKN2v820FunctionCallbackInfoINS1_5ValueEEE
fun:_ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEESA_NS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EENS0_16BuiltinArgumentsE
}
{
addr_node_binding_dlopen_strncmp
Memcheck:Addr8
fun:strncmp
fun:is_dst
...
fun:dlopen_implementation
...
fun:_ZNSt17_Function_handlerIFbPN4node7binding4DLibEEZNS1_6DLOpenERKN2v820FunctionCallbackInfoINS5_5ValueEEEEUlS3_E_E9_M_invokeERKSt9_Any_dataOS3_
}

0 comments on commit e40b068

Please sign in to comment.