forked from Imagelibrary/rtems
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# COPYRIGHT (c) 1989-1999.
|
|
# On-Line Applications Research Corporation (OAR).
|
|
#
|
|
# The license and distribution terms for this file may be
|
|
# found in the file LICENSE in this distribution or at
|
|
# http://www.OARcorp.com/rtems/license.html.
|
|
#
|
|
|
|
This file describes the directives and concepts tested by this test set.
|
|
This test is based upon the test in sp01.
|
|
|
|
test set name: itrontask01
|
|
|
|
directives:
|
|
cre_tsk, exd_tsk, get_tid, sta_tsk
|
|
|
|
concepts: XXX verify
|
|
|
|
a. Verifies system can create and start both the executive's system
|
|
initialization and idle task.
|
|
|
|
b. Verifies executive can swap between three application tasks at the
|
|
same priority and the executive's internal idle task.
|
|
|
|
c. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
using Print and Println in the board support package.
|
|
|
|
d. Verifies interrupt handler can handle a task switch from an interrupt
|
|
as specified with the i_return directive.
|
|
|
|
e. Verifies executive initialization performed correctly.
|
|
|
|
f. Verifies the executive trap handler except for the halt function.
|
|
|
|
g. Verifies that a task can get the task identification number of itself.
|
|
|
|
a. Verifies exd_tsk
|
|
|
|
b. Verifies get_tid
|
|
|
|
notes:
|
|
|
|
rtems clock directives should change to itron clock directives when
|
|
the clock directives are merged.
|
|
|
|
change rtems task wake after to itron routines.
|
|
|
|
output:
|
|
"TA1" is printed once every 5 seconds.
|
|
"TA2" is printed once every 10 seconds.
|
|
"TA3" is printed once every 15 seconds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|