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/spregion_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/spregion_err01')
-rw-r--r-- | testsuites/sptests/spregion_err01/init.c | 6 | ||||
-rw-r--r-- | testsuites/sptests/spregion_err01/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spregion_err01/init.c b/testsuites/sptests/spregion_err01/init.c index 27bd7a93bc..62ad6e1d64 100644 --- a/testsuites/sptests/spregion_err01/init.c +++ b/testsuites/sptests/spregion_err01/init.c @@ -14,6 +14,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "SPREGION_ERR 1"; + rtems_name Region_name[ 2 ]; /* array of region names */ rtems_id Region_id[ 2 ]; /* array of region ids */ @@ -435,10 +437,10 @@ rtems_task Init( rtems_task_argument argument ) { - puts( "\n\n*** TEST SPREGION_ERR01 ***" ); + TEST_BEGIN(); region_error_tests(); - puts( "*** END OF TEST SPREGION_ERR01 ***" ); + TEST_END(); rtems_test_exit( 0 ); } diff --git a/testsuites/sptests/spregion_err01/system.h b/testsuites/sptests/spregion_err01/system.h index 0c455b8adf..97d3e11897 100644 --- a/testsuites/sptests/spregion_err01/system.h +++ b/testsuites/sptests/spregion_err01/system.h @@ -17,6 +17,8 @@ #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_REGIONS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> |