diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 22:15:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 22:15:42 +0000 |
commit | 713b2eac2fdb0a40056ddb8eb00250541df0a3b2 (patch) | |
tree | a88d3468a7253a6ac9fb4818b8b1a91c074db50d /c/src/tests/itrontests/itrontask04 | |
parent | Corrected to account for the way memory is divided up in (diff) | |
download | rtems-713b2eac2fdb0a40056ddb8eb00250541df0a3b2.tar.bz2 |
General cleanup. Test documentation improved. The message buffer test
prints a message instead of actually testing since the message buffer
implementation is not in yet.
Diffstat (limited to 'c/src/tests/itrontests/itrontask04')
-rw-r--r-- | c/src/tests/itrontests/itrontask04/itrontask04.doc | 32 | ||||
-rw-r--r-- | c/src/tests/itrontests/itrontask04/system.h | 1 |
2 files changed, 29 insertions, 4 deletions
diff --git a/c/src/tests/itrontests/itrontask04/itrontask04.doc b/c/src/tests/itrontests/itrontask04/itrontask04.doc index a4c7d592a9..176d67da74 100644 --- a/c/src/tests/itrontests/itrontask04/itrontask04.doc +++ b/c/src/tests/itrontests/itrontask04/itrontask04.doc @@ -12,12 +12,36 @@ This file describes the directives and concepts tested by this test set. -test set name: 2 - This test check task suspend and resume functionality. +test set name: itrontask04 directives: + chg_pri cre_tsk dis_dsp ena_dsp exd_tsk frsm_tsk rot_rdq rsm_tsk + sta_tsk sus_tsk -concepts: +concepts: - a. + a. This test check task suspend and resume functionality. + + b. Verifies the suspend count works correctly. + c. Verifies the forced resume works correctly + + d. Verifies the rotate ready queue works correctly + + e. Verifies a task called with rtems suspend can be resumed + with an itron resume call. ( XXX - May not be necessary. ) + + +notes: + + This verision of ITRON does not provide a way for a task to + suspend itself (only another task can suspend it). Therefore, + the test calls rtems_task_suspend to suspend it. + + rtems_task_wake_after calls should be replaced with itron call + when the ITRON functionality is finished. + +output: + + XXX - Verify the output messages on this test. It looks like + the suspend count doesn't look correct. ??? Nov 10, 99 diff --git a/c/src/tests/itrontests/itrontask04/system.h b/c/src/tests/itrontests/itrontask04/system.h index 51af0eaca6..4e4a1ac7ae 100644 --- a/c/src/tests/itrontests/itrontask04/system.h +++ b/c/src/tests/itrontests/itrontask04/system.h @@ -15,6 +15,7 @@ */ #include <tmacros.h> +#include <itron.h> /* functions */ |