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/sppartition_err01 | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sppartition_err01')
-rw-r--r-- | testsuites/sptests/sppartition_err01/init.c | 6 | ||||
-rw-r--r-- | testsuites/sptests/sppartition_err01/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sppartition_err01/init.c b/testsuites/sptests/sppartition_err01/init.c index 2cb629ac94..39ee700daa 100644 --- a/testsuites/sptests/sppartition_err01/init.c +++ b/testsuites/sptests/sppartition_err01/init.c @@ -14,6 +14,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "SPPARTITION_ERR 1"; + uint32_t Other_Memory; TEST_EXTERN rtems_name Partition_name[ 2 ]; /* array of partition names */ @@ -331,10 +333,10 @@ rtems_task Init( rtems_task_argument argument ) { - puts( "\n\n*** TEST PARTITION ERROR 01 ***" ); + TEST_BEGIN(); test_partition_errors(); - puts( "*** END OF TEST PARTITION ERROR 01 ***" ); + TEST_END(); rtems_test_exit( 0 ); } diff --git a/testsuites/sptests/sppartition_err01/system.h b/testsuites/sptests/sppartition_err01/system.h index 1a48aa0f76..71a5f2a9b5 100644 --- a/testsuites/sptests/sppartition_err01/system.h +++ b/testsuites/sptests/sppartition_err01/system.h @@ -17,6 +17,8 @@ #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_PARTITIONS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> |