summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sppartition_err01
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/sppartition_err01
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sppartition_err01')
-rw-r--r--testsuites/sptests/sppartition_err01/init.c6
-rw-r--r--testsuites/sptests/sppartition_err01/system.h2
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>