summaryrefslogtreecommitdiffstats
path: root/spec/rtems/status/val/status.yml
blob: c08600d1d5db49c1c78f8b7032d47719655c7583 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
enabled-by: true
links: []
test-actions:
- action-brief: |
    Validate the status code constants.
  action-code: |
    /* Nothing to do */
  checks:
  - brief: |
      Check that ${../if/first:/name} has the expected value and is a constant
      expression.
    code: |
      RTEMS_STATIC_ASSERT( RTEMS_STATUS_CODES_FIRST == 0, FIRST );
    links:
    - role: validation
      uid: ../req/first
  - brief: |
      Check that ${../if/last:/name} has the expected value and is a constant
      expression.
    code: |
      RTEMS_STATIC_ASSERT( RTEMS_STATUS_CODES_LAST == 29, LAST );
    links:
    - role: validation
      uid: ../req/last
  links: []
test-brief: |
  Tests some ${../if/group:/name} interfaces.
test-context: []
test-context-support: null
test-description: null
test-header: null
test-includes:
- rtems.h
test-local-includes: []
test-setup: null
test-stop: null
test-support: null
test-target: testsuites/validation/tc-status.c
test-teardown: null
type: test-case