diff options
Diffstat (limited to 'cpukit/libtest/t-test-rtems-heap.c')
-rw-r--r-- | cpukit/libtest/t-test-rtems-heap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libtest/t-test-rtems-heap.c b/cpukit/libtest/t-test-rtems-heap.c index 6755e886b2..9b9e8a73ec 100644 --- a/cpukit/libtest/t-test-rtems-heap.c +++ b/cpukit/libtest/t-test-rtems-heap.c @@ -25,7 +25,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <t.h> +#include <rtems/test.h> #include <rtems/score/heapimpl.h> #include <rtems/score/wkspace.h> @@ -79,7 +79,7 @@ T_heap_case_end(void) where = "workspace"; } - T_check_true(ok, NULL, "memory leak in %s", where); + T_check(&T_special, ok, "memory leak in %s", where); memcpy(&ctx->workspace_info, &info, sizeof(info)); } @@ -88,7 +88,7 @@ T_heap_case_end(void) ok = memcmp(&info, &ctx->heap_info, sizeof(info)) == 0; if (!ok) { - T_check_true(ok, NULL, "memory leak in heap"); + T_check(&T_special, ok, "memory leak in heap"); memcpy(&ctx->heap_info, &info, sizeof(info)); } } |