diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
commit | 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch) | |
tree | d08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/spqreslib | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/spqreslib')
-rw-r--r-- | testsuites/sptests/spqreslib/init.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/spqreslib/system.h | 2 | ||||
-rw-r--r-- | testsuites/sptests/spqreslib/task_periodic.c | 2 |
3 files changed, 6 insertions, 2 deletions
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 ); } |