summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-26 13:59:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-28 13:33:55 +0200
commit73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f (patch)
tree0520913c846b9004f0590b31f699631238ebcb42 /testsuites/smptests
parentrtems: Add rtems_print_printer_fprintf_putc() (diff)
downloadrtems-73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f.tar.bz2
tests: Use rtems_test_printer
Update #3170. Update #3199.
Diffstat (limited to 'testsuites/smptests')
-rw-r--r--testsuites/smptests/smpschededf01/init.c7
1 files changed, 2 insertions, 5 deletions
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 <rtems.h>
#include <rtems/cpuuse.h>
-#include <rtems/printer.h>
#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)