summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxconfig01
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/psxconfig01
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxconfig01')
-rw-r--r--testsuites/psxtests/psxconfig01/init.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c
index 4f3981de9f..f3752a779c 100644
--- a/testsuites/psxtests/psxconfig01/init.c
+++ b/testsuites/psxtests/psxconfig01/init.c
@@ -24,6 +24,7 @@
#include "config.h"
#endif
+#include <rtems/test.h>
#include <tmacros.h>
#include <sys/stat.h>
@@ -39,6 +40,8 @@
#include <rtems/libcsupport.h>
+const char rtems_test_name[] = "PSXCONFIG 1";
+
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
#define CONFIGURE_MAXIMUM_BARRIERS 2
@@ -61,6 +64,8 @@
#define CONFIGURE_MAXIMUM_POSIX_RWLOCKS 31
#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 41
#define CONFIGURE_MAXIMUM_POSIX_SPINLOCKS 17
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_MAXIMUM_POSIX_THREADS 3
#define CONFIGURE_MAXIMUM_POSIX_TIMERS 47
@@ -167,6 +172,8 @@
#define CONFIGURE_MAXIMUM_DRIVERS 2
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
@@ -249,7 +256,7 @@ static rtems_task Init(rtems_task_argument argument)
rtems_resource_snapshot snapshot;
int i = 0;
- puts("\n\n*** POSIX TEST CONFIG 01 ***");
+ TEST_BEGIN();
memset(posix_name, 'P', sizeof(posix_name) - 1);
@@ -552,7 +559,7 @@ static rtems_task Init(rtems_task_argument argument)
printf("object creation done\n");
print_info();
- puts("*** END OF POSIX TEST CONFIG 01 ***");
+ TEST_END();
rtems_test_exit(0);
}