diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-10 16:31:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 09:17:36 +0100 |
commit | 9391f6d6637c752046cdfd89ae2eeea147496e44 (patch) | |
tree | fe6ad09c222cdf0489414d4a5a644b10845de333 /testsuites/samples/paranoia/init.c | |
parent | sapi: Add <rtems/test.h> (diff) | |
download | rtems-9391f6d6637c752046cdfd89ae2eeea147496e44.tar.bz2 |
tests/samples: Use <rtems/test.h>
Diffstat (limited to 'testsuites/samples/paranoia/init.c')
-rw-r--r-- | testsuites/samples/paranoia/init.c | 6 |
1 files changed, 4 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 ); } |