tests/samples: Use <rtems/test.h>

This commit is contained in:
Sebastian Huber
2014-03-10 16:31:43 +01:00
parent 840ae715a9
commit 9391f6d663
26 changed files with 95 additions and 25 deletions

View File

@@ -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 );
}