mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
8 lines
374 B
Bash
Executable File
8 lines
374 B
Bash
Executable File
if ! type valgrind >/dev/null; then
|
|
echo "Please install valgrind before running memory leak tests"
|
|
exit 1
|
|
fi
|
|
|
|
curl -O https://raw.githubusercontent.com/jcupitt/libvips/master/libvips.supp
|
|
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --suppressions=libvips.supp --suppressions=sharp.supp --leak-check=full --show-leak-kinds=definite,indirect,possible node unit.js
|