diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-01 11:01:04 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-01 11:01:04 +0200 |
commit | 4030cccfef9b6a600e23cd9bb2ff074cc0a86b73 (patch) | |
tree | 17affc4280482bb9f4a01025cf42e7c96ecbefb3 /testsuites/sptests | |
parent | smptests/smpfatal08: Fix link error (diff) | |
download | rtems-4030cccfef9b6a600e23cd9bb2ff074cc0a86b73.tar.bz2 |
tests: Add documentation
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/spmrsp01/spmrsp01.doc | 17 | ||||
-rw-r--r-- | testsuites/sptests/spscheduler01/spscheduler01.doc | 2 |
2 files changed, 16 insertions, 3 deletions
diff --git a/testsuites/sptests/spmrsp01/spmrsp01.doc b/testsuites/sptests/spmrsp01/spmrsp01.doc index e09cff11c7..714e09af01 100644 --- a/testsuites/sptests/spmrsp01/spmrsp01.doc +++ b/testsuites/sptests/spmrsp01/spmrsp01.doc @@ -6,8 +6,21 @@ directives: - rtems_semaphore_create() - rtems_semaphore_set_priority() + - rtems_semaphore_obtain() + - rtems_semaphore_release() + - rtems_semaphore_delete() concepts: - - Ensure that the RTEMS_MULTIPROCESSOR_RESOURCE_SHARING attribute and - semaphores work on uni-processor configurations. + - Ensure that invalid attribute combinations with + RTEMS_MULTIPROCESSOR_RESOURCE_SHARING lead to an error status in + rtems_semaphore_create(). + - Ensure that a MrsP semaphore behaves like a normal PCP semaphore on + uni-processor configurations. + - Ensure that invalid parameter values result in an error status in + rtems_semaphore_set_priority() using a counting semaphore. + - Ensure that rtems_semaphore_set_priority() works for valid parameters. + - Ensure that timeouts work for MrsP semaphores on uni-processor + configurations. + - Ensure that rtems_semaphore_release() fails for MrsP semaphores if the task + is not the resource owner on uni-processor configurations. diff --git a/testsuites/sptests/spscheduler01/spscheduler01.doc b/testsuites/sptests/spscheduler01/spscheduler01.doc index 00ac13e8c1..d398315b13 100644 --- a/testsuites/sptests/spscheduler01/spscheduler01.doc +++ b/testsuites/sptests/spscheduler01/spscheduler01.doc @@ -9,5 +9,5 @@ directives: concepts: - - Ensure that the task set/get affinity functions work on non-SMP + - Ensure that the task set/get affinity functions work on uni-processor configurations. |