summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcoverage/init.c
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/spcoverage/init.c
parenttests/psxtests: Use <rtems/test.h> (diff)
downloadrtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2
tests/sptests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/spcoverage/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spcoverage/init.c b/testsuites/sptests/spcoverage/init.c
index 5d04e91486..a80acec7fe 100644
--- a/testsuites/sptests/spcoverage/init.c
+++ b/testsuites/sptests/spcoverage/init.c
@@ -13,6 +13,8 @@
#include "tmacros.h"
+const char rtems_test_name[] = "SPCOVERAGE";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -20,7 +22,7 @@ rtems_task Init(
rtems_task_argument ignored
)
{
- puts( "\n\n*** TEST COVERAGE MARKERS ***" );
+ TEST_BEGIN();
puts( "Init - If coverage enabled, call coverage marker methods" );
#if defined(RTEMS_COVERAGE)
@@ -28,7 +30,7 @@ rtems_task Init(
end_coverage();
#endif
- puts( "*** END OF TEST COVERAGE MARKERS ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -38,6 +40,8 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT