blob: 714e09af01b80a16c48c79b43f029cb0b1447c1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
This file describes the directives and concepts tested by this test set.
test set name: spmrsp01
directives:
- rtems_semaphore_create()
- rtems_semaphore_set_priority()
- rtems_semaphore_obtain()
- rtems_semaphore_release()
- rtems_semaphore_delete()
concepts:
- 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.
|