diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-26 13:59:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-28 13:33:55 +0200 |
commit | 73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f (patch) | |
tree | 0520913c846b9004f0590b31f699631238ebcb42 /testsuites/sptests/spprofiling01 | |
parent | rtems: Add rtems_print_printer_fprintf_putc() (diff) | |
download | rtems-73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f.tar.bz2 |
tests: Use rtems_test_printer
Update #3170.
Update #3199.
Diffstat (limited to 'testsuites/sptests/spprofiling01')
-rw-r--r-- | testsuites/sptests/spprofiling01/init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuites/sptests/spprofiling01/init.c b/testsuites/sptests/spprofiling01/init.c index 5e7e7411d3..a70343b21f 100644 --- a/testsuites/sptests/spprofiling01/init.c +++ b/testsuites/sptests/spprofiling01/init.c @@ -117,15 +117,13 @@ static void test_iterate(void) static void test_report_xml(void) { - rtems_printer printer; rtems_status_code sc; int rv; sc = rtems_task_wake_after(3); rtems_test_assert(sc == RTEMS_SUCCESSFUL); - rtems_print_printer_printf(&printer); - rv = rtems_profiling_report_xml("X", &printer, 1, " "); + rv = rtems_profiling_report_xml("X", &rtems_test_printer, 1, " "); printf("characters produced by rtems_profiling_report_xml(): %i\n", rv); } |