summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxrdwrv
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/psxrdwrv
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxrdwrv')
-rw-r--r--testsuites/psxtests/psxrdwrv/main.c2
-rw-r--r--testsuites/psxtests/psxrdwrv/test.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxrdwrv/main.c b/testsuites/psxtests/psxrdwrv/main.c
index c8a59175d0..2e2d309e65 100644
--- a/testsuites/psxtests/psxrdwrv/main.c
+++ b/testsuites/psxtests/psxrdwrv/main.c
@@ -38,6 +38,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psxrdwrv/test.c b/testsuites/psxtests/psxrdwrv/test.c
index 43792c32a0..d3adf14c66 100644
--- a/testsuites/psxtests/psxrdwrv/test.c
+++ b/testsuites/psxtests/psxrdwrv/test.c
@@ -37,6 +37,8 @@
#include <rtems.h>
#include <rtems/libio.h>
#include <pmacros.h>
+
+ const char rtems_test_name[] = "PSXRDWRV";
#else
#define TRUE 1
#define FALSE 0
@@ -424,7 +426,7 @@ int main(
)
#endif
{
- puts( "*** POSIX TEST READV/WRITEV ***" );
+ TEST_BEGIN();
if ( fillPatternBuffer() != TRUE ) {
puts("Error filling pattern buffer" );
@@ -441,6 +443,6 @@ int main(
}
unlink(TESTFILE);
- puts( "*** END OF TEST PSXRDWRV ***" );
+ TEST_END();
rtems_test_exit(0);
}