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/psxkey02/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxkey02') diff --git a/testsuites/psxtests/psxkey02/init.c b/testsuites/psxtests/psxkey02/init.c index 6a3cf2af8b..684eb4af55 100644 --- a/testsuites/psxtests/psxkey02/init.c +++ b/testsuites/psxtests/psxkey02/init.c @@ -17,6 +17,8 @@ #include "tmacros.h" #include "pmacros.h" +const char rtems_test_name[] = "PSXKEY 2"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument ignored); @@ -30,7 +32,7 @@ rtems_task Init(rtems_task_argument ignored) rtems_resource_snapshot snapshot; void *greedy; - puts( "\n\n*** TEST KEY 02 ***" ); + TEST_BEGIN(); greedy = rtems_workspace_greedy_allocate_all_except_largest( &to_alloc ); rtems_resource_snapshot_take( &snapshot ); @@ -73,7 +75,7 @@ rtems_task Init(rtems_task_argument ignored) rtems_workspace_greedy_free( greedy ); - puts( "*** END OF TEST KEY 02 ***" ); + TEST_END(); rtems_test_exit(0); } @@ -82,6 +84,8 @@ rtems_task Init(rtems_task_argument ignored) #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_POSIX_KEYS 1 -- cgit v1.2.3