From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxenosys/init.c | 6 ++++-- testsuites/psxtests/psxenosys/system.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxenosys') diff --git a/testsuites/psxtests/psxenosys/init.c b/testsuites/psxtests/psxenosys/init.c index afea3f3569..6ae7c1d856 100644 --- a/testsuites/psxtests/psxenosys/init.c +++ b/testsuites/psxtests/psxenosys/init.c @@ -28,6 +28,8 @@ #include #include +const char rtems_test_name[] = "PSXENOSYS"; + #if !HAVE_DECL_MPROTECT extern int mprotect(const void *addr, size_t len, int prot); #endif @@ -51,7 +53,7 @@ void *POSIX_Init( { int sc; - puts( "\n\n*** POSIX TEST -- ENOSYS ***" ); + TEST_BEGIN(); puts( "lio_listio -- ENOSYS" ); sc = lio_listio( 0, NULL, 0, NULL ); @@ -144,7 +146,7 @@ void *POSIX_Init( rtems_test_exit( 0 ); } - puts( "*** END OF POSIX TEST ENOSYS ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ diff --git a/testsuites/psxtests/psxenosys/system.h b/testsuites/psxtests/psxenosys/system.h index fef8cd4cea..ef42e0391f 100644 --- a/testsuites/psxtests/psxenosys/system.h +++ b/testsuites/psxtests/psxenosys/system.h @@ -26,6 +26,8 @@ void *POSIX_Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 2 #define CONFIGURE_POSIX_INIT_THREAD_TABLE -- cgit v1.2.3