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/psxfile01 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxfile01')
-rw-r--r-- | testsuites/psxtests/psxfile01/main.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psxfile01/test.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfile01/main.c b/testsuites/psxtests/psxfile01/main.c index 0f164e2246..4972cc2e5c 100644 --- a/testsuites/psxtests/psxfile01/main.c +++ b/testsuites/psxtests/psxfile01/main.c @@ -39,6 +39,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_INIT_TASK_STACK_SIZE (2 * RTEMS_MINIMUM_STACK_SIZE) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c index 715a2cc8ec..94f80c8b2e 100644 --- a/testsuites/psxtests/psxfile01/test.c +++ b/testsuites/psxtests/psxfile01/test.c @@ -45,6 +45,8 @@ #include "primode.h" +const char rtems_test_name[] = "PSXFILE 1"; + /* forward declarations to avoid warnings */ void test_case_reopen_append(void); void dump_statbuf(struct stat *buf); @@ -158,7 +160,7 @@ int main( rtems_status_code rtems_status; rtems_time_of_day time; - printf( "\n\n*** FILE TEST 1 ***\n" ); + TEST_BEGIN(); /* * Grab the maximum size of an in-memory file. @@ -655,7 +657,7 @@ since new path is not valid"); test_case_reopen_append(); - printf( "*** END OF FILE TEST 1 ***\n" ); + TEST_END(); rtems_test_exit( 0 ); } |