From 4030cccfef9b6a600e23cd9bb2ff074cc0a86b73 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 1 Sep 2014 11:01:04 +0200 Subject: tests: Add documentation --- testsuites/sptests/spmrsp01/spmrsp01.doc | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spmrsp01') 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. -- cgit v1.2.3