mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
Test name changed to reflect placement after merger.
Increased stack space.
This commit is contained in:
@@ -27,7 +27,7 @@ void ITRON_Init( void )
|
|||||||
ER status;
|
ER status;
|
||||||
T_CTSK pk_ctsk;
|
T_CTSK pk_ctsk;
|
||||||
|
|
||||||
puts( "\n\n*** ITRON TEST 3 ***" );
|
puts( "\n\n*** ITRON TASK TEST 1 ***" );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX - Change this to an itron clock !!
|
* XXX - Change this to an itron clock !!
|
||||||
@@ -42,7 +42,7 @@ void ITRON_Init( void )
|
|||||||
pk_ctsk.itskpri = 1;
|
pk_ctsk.itskpri = 1;
|
||||||
pk_ctsk.task = Task_2_through_4;
|
pk_ctsk.task = Task_2_through_4;
|
||||||
|
|
||||||
pk_ctsk.stksz = RTEMS_MINIMUM_STACK_SIZE;
|
pk_ctsk.stksz = RTEMS_MINIMUM_STACK_SIZE * 2;
|
||||||
status = cre_tsk( 2, &pk_ctsk );
|
status = cre_tsk( 2, &pk_ctsk );
|
||||||
directive_failed( status, "cre_tsk of TA1" );
|
directive_failed( status, "cre_tsk of TA1" );
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ concepts: XXX verify
|
|||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
g. Verifies that a task can get the task identification number of itself.
|
||||||
|
|
||||||
|
a. Verifies exd_tsk
|
||||||
|
|
||||||
|
b. Verifies get_tid
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
|
|
||||||
rtems clock directives should change to itron clock directives when
|
rtems clock directives should change to itron clock directives when
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*** ITRON TEST 3 ***
|
*** ITRON TASK TEST 1 ***
|
||||||
TA1 - rtems_clock_get - 09:00:00 12/31/1988
|
TA1 - rtems_clock_get - 09:00:00 12/31/1988
|
||||||
TA2 - rtems_clock_get - 09:00:00 12/31/1988
|
TA2 - rtems_clock_get - 09:00:00 12/31/1988
|
||||||
TA3 - rtems_clock_get - 09:00:00 12/31/1988
|
TA3 - rtems_clock_get - 09:00:00 12/31/1988
|
||||||
@@ -13,4 +13,4 @@ TA1 - rtems_clock_get - 09:00:25 12/31/1988
|
|||||||
TA3 - rtems_clock_get - 09:00:30 12/31/1988
|
TA3 - rtems_clock_get - 09:00:30 12/31/1988
|
||||||
TA2 - rtems_clock_get - 09:00:30 12/31/1988
|
TA2 - rtems_clock_get - 09:00:30 12/31/1988
|
||||||
TA1 - rtems_clock_get - 09:00:30 12/31/1988
|
TA1 - rtems_clock_get - 09:00:30 12/31/1988
|
||||||
*** END OF ITRON TEST 3 ***
|
*** END OF ITRON TASK TEST 1 ***
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ void Task_2_through_4()
|
|||||||
directive_failed( status, "rtems_clock_get" );
|
directive_failed( status, "rtems_clock_get" );
|
||||||
|
|
||||||
if ( time.second >= 35 ) {
|
if ( time.second >= 35 ) {
|
||||||
puts( "*** END OF ITRON TEST 3 ***" );
|
puts( "*** END OF ITRON TASK TEST 1 ***" );
|
||||||
exit( 0 );
|
exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ void ITRON_Init( void )
|
|||||||
ER status;
|
ER status;
|
||||||
T_CTSK pk_ctsk;
|
T_CTSK pk_ctsk;
|
||||||
|
|
||||||
puts( "\n\n*** ITRON TEST 3 ***" );
|
puts( "\n\n*** ITRON TASK TEST 1 ***" );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX - Change this to an itron clock !!
|
* XXX - Change this to an itron clock !!
|
||||||
@@ -42,7 +42,7 @@ void ITRON_Init( void )
|
|||||||
pk_ctsk.itskpri = 1;
|
pk_ctsk.itskpri = 1;
|
||||||
pk_ctsk.task = Task_2_through_4;
|
pk_ctsk.task = Task_2_through_4;
|
||||||
|
|
||||||
pk_ctsk.stksz = RTEMS_MINIMUM_STACK_SIZE;
|
pk_ctsk.stksz = RTEMS_MINIMUM_STACK_SIZE * 2;
|
||||||
status = cre_tsk( 2, &pk_ctsk );
|
status = cre_tsk( 2, &pk_ctsk );
|
||||||
directive_failed( status, "cre_tsk of TA1" );
|
directive_failed( status, "cre_tsk of TA1" );
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ concepts: XXX verify
|
|||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
g. Verifies that a task can get the task identification number of itself.
|
||||||
|
|
||||||
|
a. Verifies exd_tsk
|
||||||
|
|
||||||
|
b. Verifies get_tid
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
|
|
||||||
rtems clock directives should change to itron clock directives when
|
rtems clock directives should change to itron clock directives when
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*** ITRON TEST 3 ***
|
*** ITRON TASK TEST 1 ***
|
||||||
TA1 - rtems_clock_get - 09:00:00 12/31/1988
|
TA1 - rtems_clock_get - 09:00:00 12/31/1988
|
||||||
TA2 - rtems_clock_get - 09:00:00 12/31/1988
|
TA2 - rtems_clock_get - 09:00:00 12/31/1988
|
||||||
TA3 - rtems_clock_get - 09:00:00 12/31/1988
|
TA3 - rtems_clock_get - 09:00:00 12/31/1988
|
||||||
@@ -13,4 +13,4 @@ TA1 - rtems_clock_get - 09:00:25 12/31/1988
|
|||||||
TA3 - rtems_clock_get - 09:00:30 12/31/1988
|
TA3 - rtems_clock_get - 09:00:30 12/31/1988
|
||||||
TA2 - rtems_clock_get - 09:00:30 12/31/1988
|
TA2 - rtems_clock_get - 09:00:30 12/31/1988
|
||||||
TA1 - rtems_clock_get - 09:00:30 12/31/1988
|
TA1 - rtems_clock_get - 09:00:30 12/31/1988
|
||||||
*** END OF ITRON TEST 3 ***
|
*** END OF ITRON TASK TEST 1 ***
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ void Task_2_through_4()
|
|||||||
directive_failed( status, "rtems_clock_get" );
|
directive_failed( status, "rtems_clock_get" );
|
||||||
|
|
||||||
if ( time.second >= 35 ) {
|
if ( time.second >= 35 ) {
|
||||||
puts( "*** END OF ITRON TEST 3 ***" );
|
puts( "*** END OF ITRON TASK TEST 1 ***" );
|
||||||
exit( 0 );
|
exit( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user