summary refs log tree commit diff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-08-07 19:56:21 +0100
committerWill Newton <will.newton@linaro.org>2013-09-09 09:20:09 +0100
commit0c66b8e985649f89a84b26ba02740b23e1f4e091 (patch)
tree0a6d2457d61254898c4d55a5c3f12400257d6698 /malloc/Makefile
parentf6b00fd1153295bc32041724a88aad84ba598b4a (diff)
downloadglibc-0c66b8e985649f89a84b26ba02740b23e1f4e091.tar.gz
glibc-0c66b8e985649f89a84b26ba02740b23e1f4e091.tar.xz
glibc-0c66b8e985649f89a84b26ba02740b23e1f4e091.zip
malloc: Add realloc test.
The current tests don't test the functionality of realloc in detail.
Add a new test for realloc that exercises some of the corner cases
that are not otherwise tested.

ChangeLog:

2013-09-09  Will Newton  <will.newton@linaro.org>

	* malloc/Makefile: Add tst-realloc to tests.
	* malloc/tst-realloc.c: New file.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 0fe31a4a02..b16dac8deb 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -25,7 +25,8 @@ all:
 dist-headers := malloc.h
 headers := $(dist-headers) obstack.h mcheck.h
 tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
-	 tst-mallocstate tst-mcheck tst-mallocfork tst-trim1 tst-malloc-usable
+	 tst-mallocstate tst-mcheck tst-mallocfork tst-trim1 \
+	 tst-malloc-usable tst-realloc
 test-srcs = tst-mtrace
 
 routines = malloc morecore mcheck mtrace obstack