summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp07
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:21 +0100
commit6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch)
treed08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/sp07
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp07')
-rw-r--r--testsuites/sptests/sp07/init.c4
-rw-r--r--testsuites/sptests/sp07/system.h2
-rw-r--r--testsuites/sptests/sp07/taskexit.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp07/init.c b/testsuites/sptests/sp07/init.c
index e70b29f719..8622b4c02f 100644
--- a/testsuites/sptests/sp07/init.c
+++ b/testsuites/sptests/sp07/init.c
@@ -14,6 +14,8 @@
#define CONFIGURE_INIT
#include "system.h"
+const char rtems_test_name[] = "SP 7";
+
static void Task_harmless_extension_one(
rtems_tcb *unused_one
)
@@ -66,7 +68,7 @@ rtems_task Init(
rtems_status_code status;
rtems_id id;
- puts( "\n\n*** TEST 7 ***" );
+ TEST_BEGIN();
buffered_io_initialize();
diff --git a/testsuites/sptests/sp07/system.h b/testsuites/sptests/sp07/system.h
index e604a2f50c..b09912f8de 100644
--- a/testsuites/sptests/sp07/system.h
+++ b/testsuites/sptests/sp07/system.h
@@ -77,6 +77,8 @@ void Task_exit_extension(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 2
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (4 * RTEMS_MINIMUM_STACK_SIZE)
diff --git a/testsuites/sptests/sp07/taskexit.c b/testsuites/sptests/sp07/taskexit.c
index 84687623fc..6066038d49 100644
--- a/testsuites/sptests/sp07/taskexit.c
+++ b/testsuites/sptests/sp07/taskexit.c
@@ -29,6 +29,6 @@ void Task_exit_extension(
put_name( Task_name[ task_number( running_task->Object.id ) ], TRUE );
}
- puts("*** END OF TEST 7 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}