rhealstone: Add start end and messages

This commit is contained in:
Joel Sherrill
2014-01-07 18:31:32 -06:00
parent bc55e4fa52
commit 893aac166a
6 changed files with 18 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ rtems_task Init( rtems_task_argument ignored )
Print_Warning();
puts( "*** START OF RHDEADLOCKBRK ***" );
sem_attr = RTEMS_INHERIT_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
sem_name = rtems_build_name( 'S','0',' ',' ' );
@@ -139,6 +141,7 @@ rtems_task Task01( rtems_task_argument ignored )
tswitch_overhead, /* Overhead of loop and task switches */
tobtain_overhead
);
puts( "*** END OF RHDEADLOCKBRK ***" );
rtems_test_exit( 0 );
}

View File

@@ -56,6 +56,8 @@ rtems_task Init(
Print_Warning();
puts( "*** START OF RHILATENCY ***" );
if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
puts( " Error ==> " );
puts( "Test only supported for deterministic priority scheduler\n" );
@@ -106,6 +108,7 @@ rtems_task Task_1(
0
);
puts( "*** END OF RHILATENCY ***" );
rtems_test_exit( 0 );
}

View File

@@ -35,6 +35,8 @@ void Init(
Print_Warning();
puts( "*** START OF RHMLATENCY ***" );
status = rtems_message_queue_create(
rtems_build_name( 'M', 'Q', '1', ' ' ),
1,
@@ -135,6 +137,7 @@ rtems_task Task02( rtems_task_argument ignored )
treceive_overhead /* Overhead of recieve call and task switch */
);
puts( "*** END OF RHMLATENCY ***" );
rtems_test_exit( 0 );
}

View File

@@ -32,6 +32,8 @@ rtems_task Init( rtems_task_argument ignored )
Print_Warning();
puts( "*** START OF RHSEMSHUFFLE ***" );
sem_attr = RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
sem_name = rtems_build_name( 'S','0',' ',' ' );
@@ -146,6 +148,7 @@ rtems_task Task02( rtems_task_argument ignored )
tswitch_overhead, /* Overhead of loop and task switches */
0
);
puts( "*** END OF RHSEMSHUFFLE ***" );
rtems_test_exit( 0 );
}
}

View File

@@ -62,6 +62,7 @@ rtems_task Task02( rtems_task_argument ignored )
tswitch_overhead /* Overhead of task switch back to TA01 */
);
puts( "*** END OF RHTASKPREEMPT ***" );
rtems_test_exit( 0 );
}
@@ -69,6 +70,8 @@ rtems_task Init( rtems_task_argument ignored )
{
Print_Warning();
puts( "*** START OF RHTASKPREEMPT ***" );
Task_name[0] = rtems_build_name( 'T','A','0','1' );
status = rtems_task_create(
Task_name[0],

View File

@@ -40,6 +40,7 @@ rtems_task Task02( rtems_task_argument ignored )
dir_overhead /* Overhead of rtems_task_wake_after directive */
);
puts( "*** END OF RTASKSWITCH ***" );
rtems_test_exit( 0 );
}
@@ -64,6 +65,8 @@ rtems_task Init( rtems_task_argument ignored )
{
Print_Warning();
puts( "*** START OF RHTASKSWITCH ***" );
Task_name[0] = rtems_build_name( 'T','A','0','1' );
status = rtems_task_create(
Task_name[0],