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/psxreaddir | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxreaddir/main.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psxreaddir/test.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxreaddir/main.c b/testsuites/psxtests/psxreaddir/main.c index ad0a473b2d..a76838de2c 100644 --- a/testsuites/psxtests/psxreaddir/main.c +++ b/testsuites/psxtests/psxreaddir/main.c @@ -34,6 +34,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/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c index 78e5d7ca29..c79393160e 100644 --- a/testsuites/psxtests/psxreaddir/test.c +++ b/testsuites/psxtests/psxreaddir/test.c @@ -40,6 +40,8 @@ #include <errno.h> #include <rtems/imfs.h> +const char rtems_test_name[] = "PSXREADDIR"; + /* forward declarations to avoid warnings */ int test_main(void); void printdir(DIR *directory); @@ -253,7 +255,7 @@ int main( struct stat s; - printf( "\n\n*** READDIR TEST ***\n" ); + TEST_BEGIN(); printf( "\nchdir to the root directory\n" ); status = chdir( "/" ); @@ -531,6 +533,6 @@ int main( rtems_test_assert ( status == 0 ); test_across_mount(); - printf( "\n\n*** END OF READDIR TEST ***\n" ); + TEST_END(); rtems_test_exit(0); } |