summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2013-12-17 23:14:36 (GMT)
committerJason Evans <jasone@canonware.com>2013-12-17 23:19:12 (GMT)
commit0d6c5d8bd0d866a0ce4ce321259cec65d6459821 (patch)
tree083566d27a62252feb2c329c9dee1ee4745a140e /Makefile.in
parenteca367b77909ebd649fbd0430e1e9b80dded14e0 (diff)
downloadjemalloc-0d6c5d8bd0d866a0ce4ce321259cec65d6459821.zip
jemalloc-0d6c5d8bd0d866a0ce4ce321259cec65d6459821.tar.gz
jemalloc-0d6c5d8bd0d866a0ce4ce321259cec65d6459821.tar.bz2
Add quarantine unit tests.
Verify that freed regions are quarantined, and that redzone corruption is detected. Introduce a testing idiom for intercepting/replacing internal functions. In this case the replaced function is ordinarily a static function, but the idiom should work similarly for library-private functions.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 08dad5f..afa7bde 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -110,7 +110,8 @@ C_UTIL_INTEGRATION_SRCS := $(srcroot)src/util.c
TESTS_UNIT := $(srcroot)test/unit/bitmap.c $(srcroot)test/unit/ckh.c \
$(srcroot)test/unit/hash.c $(srcroot)test/unit/math.c \
$(srcroot)test/unit/mq.c $(srcroot)test/unit/mtx.c \
- $(srcroot)test/unit/SFMT.c $(srcroot)test/unit/tsd.c
+ $(srcroot)test/unit/quarantine.c $(srcroot)test/unit/SFMT.c \
+ $(srcroot)test/unit/tsd.c
TESTS_INTEGRATION := $(srcroot)test/integration/aligned_alloc.c \
$(srcroot)test/integration/allocated.c \
$(srcroot)test/integration/mallocx.c \