diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psx13 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx13')
-rw-r--r-- | testsuites/psxtests/psx13/main.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psx13/test.c | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/psxtests/psx13/main.c b/testsuites/psxtests/psx13/main.c index f03844ec25..395c31b888 100644 --- a/testsuites/psxtests/psx13/main.c +++ b/testsuites/psxtests/psx13/main.c @@ -41,6 +41,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/psx13/test.c b/testsuites/psxtests/psx13/test.c index ec2bec4485..c039bff868 100644 --- a/testsuites/psxtests/psx13/test.c +++ b/testsuites/psxtests/psx13/test.c @@ -39,6 +39,8 @@ #include <pmacros.h> +const char rtems_test_name[] = "PSX 13"; + int InitFiles(void); int DeviceLSeekTest(void); int DupTest(void); @@ -647,7 +649,7 @@ int main( ) #endif { - puts( "*** POSIX TEST 13 ***" ); + TEST_BEGIN(); if (InitFiles() == TRUE) { printf ("\nFiles initialized successfully.\n"); @@ -716,8 +718,8 @@ int main( sync(); } else - printf ("\n\nError opening files for write!!!!\n"); + TEST_BEGIN(); - printf( "\n\n*** END OF TEST PSX13 ***\n" ); + TEST_END(); rtems_test_exit(0); } |