From 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:21 +0100 Subject: tests/sptests: Use --- testsuites/sptests/spqreslib/init.c | 4 +++- testsuites/sptests/spqreslib/system.h | 2 ++ testsuites/sptests/spqreslib/task_periodic.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spqreslib') diff --git a/testsuites/sptests/spqreslib/init.c b/testsuites/sptests/spqreslib/init.c index c6ba68ee41..680f7bed92 100644 --- a/testsuites/sptests/spqreslib/init.c +++ b/testsuites/sptests/spqreslib/init.c @@ -19,6 +19,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "SPQRESLIB"; + rtems_id Task_id; rtems_task_priority Priority; time_t Period; @@ -48,7 +50,7 @@ rtems_task Init( params3.P = -1; params4.P = SCHEDULER_EDF_PRIO_MSB + 1; - puts( "\n\n*** TEST QRES LIBRARY ***" ); + TEST_BEGIN(); status = rtems_task_create( diff --git a/testsuites/sptests/spqreslib/system.h b/testsuites/sptests/spqreslib/system.h index d7f4421860..2687153d71 100644 --- a/testsuites/sptests/spqreslib/system.h +++ b/testsuites/sptests/spqreslib/system.h @@ -35,6 +35,8 @@ rtems_task Task_Periodic( #define CONFIGURE_INIT_TASK_PRIORITY 100 #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_EXTRA_TASK_STACKS (6 * 4 * RTEMS_MINIMUM_STACK_SIZE) diff --git a/testsuites/sptests/spqreslib/task_periodic.c b/testsuites/sptests/spqreslib/task_periodic.c index add0f9bd06..61bc0bb327 100644 --- a/testsuites/sptests/spqreslib/task_periodic.c +++ b/testsuites/sptests/spqreslib/task_periodic.c @@ -131,6 +131,6 @@ rtems_task Task_Periodic( printf( "ERROR: QRES CLEANUP\n" ); fflush(stdout); - puts( "*** END OF TEST QRES LIBRARY ***" ); + TEST_END(); rtems_test_exit( 0 ); } -- cgit v1.2.3