-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Runs unit tests via valgrind
- v0.33.5
- v0.33.5-rc.1
- v0.33.5-rc.0
- v0.33.4
- v0.33.4-rc.0
- v0.33.3
- v0.33.3-rc.0
- v0.33.2
- v0.33.2-rc.1
- v0.33.2-rc.0
- v0.33.1
- v0.33.1-rc.3
- v0.33.1-rc.2
- v0.33.1-rc.1
- v0.33.1-rc.0
- v0.33.0
- v0.33.0-rc.2
- v0.33.0-rc.1
- v0.33.0-alpha.11
- v0.33.0-alpha.10
- v0.33.0-alpha.9
- v0.33.0-alpha.8
- v0.33.0-alpha.7
- v0.33.0-alpha.6
- v0.33.0-alpha.5
- v0.33.0-alpha.4
- v0.33.0-alpha.3
- v0.33.0-alpha.2
- v0.33.0-alpha.1
- v0.32.6
- v0.32.5
- v0.32.4
- v0.32.3
- v0.32.2
- v0.32.1
- v0.32.0
- v0.31.3
- v0.31.2
- v0.31.1
- v0.31.0
- v0.30.7
- v0.30.6
- v0.30.5
- v0.30.4
- v0.30.3
- v0.30.2
- v0.30.1
- v0.30.0
- v0.29.3
- v0.29.2
- v0.29.1
- v0.29.0
- v0.28.3
- v0.28.2
- v0.28.1
- v0.28.0
- v0.28.0-beta1
- v0.28.0-alpha1
- v0.27.2
- v0.27.1
- v0.27.0
- v0.27.0-beta1
- v0.26.3
- v0.26.2
- v0.26.1
- v0.26.0
- v0.26.0-beta1
- v0.26.0-alpha2
- v0.26.0-alpha1
- v0.25.4
- v0.25.3
- v0.25.2
- v0.25.1
- v0.25.0
- v0.24.1
- v0.24.0
- v0.23.4
- v0.23.3
- v0.23.2
- v0.23.1
- v0.23.0
- v0.22.1
- v0.22.0
- v0.21.3
- v0.21.2
- v0.21.1
- v0.21.0
- v0.20.8
- v0.20.7
- v0.20.6
- v0.20.5
- v0.20.4
- v0.20.3
- v0.20.2
- v0.20.1
- v0.20.0
- v0.19.1
- v0.19.0
- v0.18.4
- v0.18.3
- v0.18.2
- v0.18.1
- v0.18.0
- v0.17.3
- v0.17.2
- v0.17.1
- v0.17.0
- v0.16.2
- v0.16.1
- v0.16.0
- v0.15.1
- v0.15.0
- v0.14.1
- v0.14.0
- v0.13.1
- v0.13.0
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.1
- v0.10.0
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.2
Showing
3 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ results | |
build | ||
node_modules | ||
tests/fixtures/output.* | ||
tests/libvips.supp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# libjpeg warnings | ||
{ | ||
cond_jpeg_read_scanlines | ||
Memcheck:Cond | ||
... | ||
fun:jpeg_read_scanlines | ||
} | ||
{ | ||
value_jpeg_read_scanlines | ||
Memcheck:Value8 | ||
... | ||
fun:jpeg_read_scanlines | ||
} | ||
{ | ||
cond_jpeg_write_scanlines | ||
Memcheck:Cond | ||
... | ||
fun:jpeg_write_scanlines | ||
} | ||
{ | ||
cond_jpeg_finish_compress | ||
Memcheck:Cond | ||
... | ||
fun:jpeg_finish_compress | ||
} | ||
{ | ||
value_jpeg_finish_compress | ||
Memcheck:Value8 | ||
... | ||
fun:jpeg_finish_compress | ||
} | ||
|
||
# libvips interpolator warnings | ||
{ | ||
cond_libvips_interpolate_lbb | ||
Memcheck:Cond | ||
... | ||
fun:_ZL32vips_interpolate_lbb_interpolateP16_VipsInterpolatePvP11_VipsRegiondd | ||
fun:vips_affine_gen | ||
} | ||
|
||
# libuv warnings | ||
{ | ||
free_libuv | ||
Memcheck:Free | ||
... | ||
fun:uv__work_done | ||
} | ||
|
||
# nodejs warnings | ||
{ | ||
param_nodejs_write_buffer | ||
Memcheck:Param | ||
write(buf) | ||
... | ||
obj:/usr/bin/nodejs | ||
} | ||
{ | ||
leak_nodejs_ImmutableAsciiSource_CreateFromLiteral | ||
Memcheck:Leak | ||
match-leak-kinds: definite | ||
... | ||
fun:_ZN4node20ImmutableAsciiSource17CreateFromLiteralEPKcm | ||
} | ||
{ | ||
leak_nodejs_Buffer_New | ||
Memcheck:Leak | ||
match-leak-kinds: definite | ||
... | ||
fun:_ZN4node6Buffer3NewERKN2v89ArgumentsE | ||
} | ||
{ | ||
leak_nodejs_Buffer_Replace | ||
Memcheck:Leak | ||
match-leak-kinds: indirect,possible | ||
... | ||
fun:_ZN4node6Buffer7ReplaceEPcmPFvS1_PvES2_ | ||
} | ||
{ | ||
leak_nodejs_SignalWrap_New | ||
Memcheck:Leak | ||
match-leak-kinds: possible | ||
... | ||
fun:_ZN4node10SignalWrap3NewERKN2v89ArgumentsE | ||
} | ||
{ | ||
leak_nodejs_TTYWrap_New | ||
Memcheck:Leak | ||
match-leak-kinds: possible | ||
... | ||
fun:_ZN4node7TTYWrap3NewERKN2v89ArgumentsE | ||
} | ||
{ | ||
leak_nodejs_ares_init_options | ||
Memcheck:Leak | ||
match-leak-kinds: reachable | ||
fun:malloc | ||
fun:strdup | ||
... | ||
fun:ares_init_options | ||
} | ||
|
||
# vips__init warnings | ||
{ | ||
leak_libvips_init | ||
Memcheck:Leak | ||
match-leak-kinds: reachable | ||
fun:malloc | ||
... | ||
fun:vips__init | ||
} |