diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-10 10:23:10 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-19 08:39:02 +0100 |
commit | eae22cc03e1003cd53b3b85577cf5081e0d36f43 (patch) | |
tree | 5d278fbf5b53b9401a0c257a1bfa7a53544a1db7 /testsuites | |
parent | build: Remove duplicate ARM_MMU_USE_SMALL_PAGES (diff) | |
download | rtems-eae22cc03e1003cd53b3b85577cf5081e0d36f43.tar.bz2 |
libtest: Make test case allocator configurable
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/ttest01/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/libtests/ttest01/init.c b/testsuites/libtests/ttest01/init.c index c0ccee9aa4..f5405208a0 100644 --- a/testsuites/libtests/ttest01/init.c +++ b/testsuites/libtests/ttest01/init.c @@ -28,6 +28,7 @@ #include <rtems/test.h> #include <sys/time.h> +#include <stdlib.h> #include <string.h> #include <rtems.h> @@ -255,6 +256,8 @@ static const T_config config = { .putchar_arg = &test_instance, .verbosity = T_VERBOSE, .now = now, + .allocate = malloc, + .deallocate = free, .action_count = T_ARRAY_SIZE(actions), .actions = actions }; |