diff options
author | Chris Johns <chrisj@rtems.org> | 2017-11-08 08:25:36 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-11-11 16:14:59 +1100 |
commit | bcd0c06c9be41f68d41c2fc1ed9408410b9084a3 (patch) | |
tree | a1e3900176bfc6110ca284e2d8bc0c1da563ad29 /testsuites/sptests/sp20/init.c | |
parent | mvme162: Fix errors tripped by transition to using polled IO for tests (diff) | |
download | rtems-bcd0c06c9be41f68d41c2fc1ed9408410b9084a3.tar.bz2 |
tests: Use rtems_test_begin and rtems_test_end.
Add a tests enum and move all test banner test to the library in libmisc.
Update #3199.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/sp20/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c index bf8afc7684..6b63b6a380 100644 --- a/testsuites/sptests/sp20/init.c +++ b/testsuites/sptests/sp20/init.c @@ -38,7 +38,7 @@ static long buffers[ BUFFER_COUNT ][ BUFFER_SIZE / sizeof(long) ]; void end_of_test( void ) { - rtems_test_printf( TEST_END_STRING ); + TEST_END(); rtems_printer_task_drain( &printer_task ); rtems_test_exit( 0 ); } @@ -59,7 +59,7 @@ rtems_task Init( error = rtems_print_printer_task( &rtems_test_printer, &printer_task ); rtems_test_assert( error == 0 ); - rtems_test_printf( TEST_BEGIN_STRING ); + TEST_BEGIN(); Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' ); Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' ); |