diff options
Diffstat (limited to 'testsuites/samples/paranoia')
-rw-r--r-- | testsuites/samples/paranoia/init.c | 6 | ||||
-rw-r--r-- | testsuites/samples/paranoia/system.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/samples/paranoia/init.c b/testsuites/samples/paranoia/init.c index bd23c33c0e..9a2f65e15e 100644 --- a/testsuites/samples/paranoia/init.c +++ b/testsuites/samples/paranoia/init.c @@ -18,6 +18,8 @@ extern int paranoia(int, char **); +const char rtems_test_name[] = "PARANOIA"; + char *args[2] = { "paranoia", 0 }; rtems_task Init( @@ -37,9 +39,9 @@ rtems_task Init( M68KFPSPInstallExceptionHandlers (); #endif - printf( "\n\n*** PARANOIA TEST ***\n" ); + rtems_test_begin(); paranoia(1, args); - printf( "*** END OF PARANOIA TEST ***\n" ); + rtems_test_end(); #endif /* BSP_SMALL_MEMORY */ exit( 0 ); } diff --git a/testsuites/samples/paranoia/system.h b/testsuites/samples/paranoia/system.h index 3b522d1b05..aaadb3556d 100644 --- a/testsuites/samples/paranoia/system.h +++ b/testsuites/samples/paranoia/system.h @@ -12,6 +12,7 @@ */ #include <rtems.h> +#include <rtems/test.h> /* functions */ @@ -34,6 +35,8 @@ rtems_task Init( #define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #include <rtems/confdefs.h> /* end of include file */ |