summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxobj01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxobj01
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxobj01')
-rw-r--r--testsuites/psxtests/psxobj01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxobj01/init.c b/testsuites/psxtests/psxobj01/init.c
index a37072e5ab..27d32b340e 100644
--- a/testsuites/psxtests/psxobj01/init.c
+++ b/testsuites/psxtests/psxobj01/init.c
@@ -20,6 +20,8 @@
#include <rtems/score/objectimpl.h>
+const char rtems_test_name[] = "PSXOBJ 1";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument ignored);
@@ -33,7 +35,7 @@ rtems_task Init(
char name[64];
bool bc;
- puts( "\n\n*** POSIX OBJECT TEST 1 ***" );
+ TEST_BEGIN();
/* very fake object class to test with */
_Objects_Initialize_information(
@@ -80,7 +82,7 @@ rtems_task Init(
bc = _Objects_Set_name( &TestClass, &_Thread_Get_executing()->Object, name );
rtems_test_assert( bc == false );
- puts( "*** END OF POSIX OBJECT TEST 1 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -90,6 +92,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