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 @@
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
const char rtems_test_name[] = "SAMPLE MULTIPROCESSOR APPLICATION";
rtems_task Init(
rtems_task_argument argument
)
@@ -26,7 +28,7 @@ rtems_task Init(
rtems_id tid;
rtems_status_code status;
printf( "\n\n*** SAMPLE MULTIPROCESSOR APPLICATION ***\n" );
TEST_BEGIN();
printf( "Creating and starting an application task\n" );
task_name = rtems_build_name( 'T', 'A', '1', ' ' );
status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE,