#
|
#
|
# $Id: itrontask04.doc,v 1.4 1999/11/17 16:47:56 jennifer Exp $
|
# $Id: itrontask04.doc,v 1.4 1999/11/17 16:47:56 jennifer Exp $
|
#
|
#
|
# COPYRIGHT (c) 1989-1999.
|
# COPYRIGHT (c) 1989-1999.
|
# On-Line Applications Research Corporation (OAR).
|
# On-Line Applications Research Corporation (OAR).
|
#
|
#
|
# The license and distribution terms for this file may be
|
# The license and distribution terms for this file may be
|
# found in the file LICENSE in this distribution or at
|
# found in the file LICENSE in this distribution or at
|
# http://www.OARcorp.com/rtems/license.html.
|
# http://www.OARcorp.com/rtems/license.html.
|
#
|
#
|
|
|
This file describes the directives and concepts tested by this test set.
|
This file describes the directives and concepts tested by this test set.
|
|
|
test set name: itrontask04
|
test set name: itrontask04
|
|
|
directives:
|
directives:
|
chg_pri cre_tsk dis_dsp ena_dsp exd_tsk frsm_tsk rot_rdq rsm_tsk
|
chg_pri cre_tsk dis_dsp ena_dsp exd_tsk frsm_tsk rot_rdq rsm_tsk
|
sta_tsk sus_tsk
|
sta_tsk sus_tsk
|
|
|
concepts:
|
concepts:
|
|
|
a. This test check task suspend and resume functionality.
|
a. This test check task suspend and resume functionality.
|
|
|
b. Verifies the suspend count works correctly.
|
b. Verifies the suspend count works correctly.
|
|
|
c. Verifies the forced resume works correctly
|
c. Verifies the forced resume works correctly
|
|
|
d. Verifies the rotate ready queue works correctly
|
d. Verifies the rotate ready queue works correctly
|
|
|
e. Verifies a task called with rtems suspend can be resumed
|
e. Verifies a task called with rtems suspend can be resumed
|
with an itron resume call. ( XXX - May not be necessary. )
|
with an itron resume call. ( XXX - May not be necessary. )
|
|
|
f. verifies rot_rdq can be used by non-equal priority tasks to correctly rotate ready queue.
|
f. verifies rot_rdq can be used by non-equal priority tasks to correctly rotate ready queue.
|
|
|
g. Verifies enable dispatch and disable dispatch work.
|
g. Verifies enable dispatch and disable dispatch work.
|
|
|
notes:
|
notes:
|
|
|
This verision of ITRON does not provide a way for a task to
|
This verision of ITRON does not provide a way for a task to
|
suspend itself (only another task can suspend it). Therefore,
|
suspend itself (only another task can suspend it). Therefore,
|
the test calls rtems_task_suspend to suspend it.
|
the test calls rtems_task_suspend to suspend it.
|
|
|
rtems_task_wake_after calls should be replaced with itron call
|
rtems_task_wake_after calls should be replaced with itron call
|
when the ITRON functionality is finished.
|
when the ITRON functionality is finished.
|
|
|
output:
|
output:
|
|
|
XXX - Verify the output messages on this test. It looks like
|
XXX - Verify the output messages on this test. It looks like
|
the suspend count doesn't look correct. ??? Nov 10, 99
|
the suspend count doesn't look correct. ??? Nov 10, 99
|
|
|