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/sp71 | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp71')
-rw-r--r-- | testsuites/sptests/sp71/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp71/init.c b/testsuites/sptests/sp71/init.c index 0fb43a8969..eff6ba72d0 100644 --- a/testsuites/sptests/sp71/init.c +++ b/testsuites/sptests/sp71/init.c @@ -14,6 +14,8 @@ #include <tmacros.h> #include "test_support.h" +const char rtems_test_name[] = "SP 71"; + #define PER_ALLOCATION 8000 /* forward declarations to avoid warnings */ @@ -27,7 +29,7 @@ rtems_task Init( rtems_id id; long created; - puts( "\n\n*** TEST 71 ***" ); + TEST_BEGIN(); created = 0; do { @@ -53,7 +55,7 @@ rtems_task Init( if ( (created + PER_ALLOCATION) > OBJECTS_ID_FINAL_INDEX ) { puts( "Test case hit" ); - puts( "*** END OF TEST 71 ***" ); + TEST_END(); } else { puts( "Test case NOT hit" ); } @@ -68,6 +70,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_PORTS rtems_resource_unlimited(PER_ALLOCATION) #define CONFIGURE_UNIFIED_WORK_AREAS +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |