mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Add util unit tests, and fix discovered bugs.
Add unit tests for pow2_ceil(), malloc_strtoumax(), and malloc_snprintf(). Fix numerous bugs in malloc_strotumax() error handling/reporting. These bugs could have caused application-visible issues for some seldom used (0X... and 0... prefixes) or malformed MALLOC_CONF or mallctl() argument strings, but otherwise they had no impact. Fix numerous bugs in malloc_snprintf(). These bugs were not exercised by existing malloc_*printf() calls, so they had no impact.
This commit is contained in:
@@ -114,7 +114,7 @@ TESTS_UNIT := $(srcroot)test/unit/bitmap.c $(srcroot)test/unit/ckh.c \
|
||||
$(srcroot)test/unit/qr.c $(srcroot)test/unit/quarantine.c \
|
||||
$(srcroot)test/unit/rb.c $(srcroot)test/unit/rtree.c \
|
||||
$(srcroot)test/unit/SFMT.c $(srcroot)test/unit/stats.c \
|
||||
$(srcroot)test/unit/tsd.c
|
||||
$(srcroot)test/unit/tsd.c $(srcroot)test/unit/util.c
|
||||
TESTS_INTEGRATION := $(srcroot)test/integration/aligned_alloc.c \
|
||||
$(srcroot)test/integration/allocated.c \
|
||||
$(srcroot)test/integration/mallocx.c \
|
||||
|
||||
Reference in New Issue
Block a user