From eae22cc03e1003cd53b3b85577cf5081e0d36f43 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 10 Nov 2020 10:23:10 +0100 Subject: libtest: Make test case allocator configurable --- testsuites/libtests/ttest01/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuites/libtests') 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 #include +#include #include #include @@ -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 }; -- cgit v1.2.3