From 73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 26 Oct 2017 13:59:07 +0200 Subject: tests: Use rtems_test_printer Update #3170. Update #3199. --- testsuites/smptests/smpschededf01/init.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'testsuites/smptests') diff --git a/testsuites/smptests/smpschededf01/init.c b/testsuites/smptests/smpschededf01/init.c index 2bfcadfef8..b162196c4c 100644 --- a/testsuites/smptests/smpschededf01/init.c +++ b/testsuites/smptests/smpschededf01/init.c @@ -20,7 +20,6 @@ #include #include -#include #include "tmacros.h" @@ -73,7 +72,6 @@ static void t2(rtems_task_argument arg) static void test(test_context *ctx) { rtems_status_code sc; - rtems_printer printer; ctx->one_tick_busy = rtems_test_get_one_tick_busy_count(); @@ -117,9 +115,8 @@ static void test(test_context *ctx) sc = rtems_task_suspend(ctx->task[1]); rtems_test_assert(sc == RTEMS_SUCCESSFUL); - rtems_print_printer_printf(&printer); - rtems_cpu_usage_report_with_plugin(&printer); - rtems_rate_monotonic_report_statistics_with_plugin(&printer); + rtems_cpu_usage_report_with_plugin(&rtems_test_printer); + rtems_rate_monotonic_report_statistics_with_plugin(&rtems_test_printer); } static void Init(rtems_task_argument arg) -- cgit v1.2.3