summaryrefslogtreecommitdiffstats
path: root/spec/rtems/option
diff options
context:
space:
mode:
authorFrank Kühndel <frank.kuehndel@embedded-brains.de>2021-09-07 15:05:41 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-14 16:00:54 +0200
commit248df1d31ceb4a935af41e047fd7c308ad54e273 (patch)
treea63bda904034c0d874eaa2eaf03572d83c5b52fb /spec/rtems/option
parentscore: Fix priority inheritance flush test (diff)
downloadrtems-central-248df1d31ceb4a935af41e047fd7c308ad54e273.tar.bz2
spec: Update message manager specification
Diffstat (limited to 'spec/rtems/option')
-rw-r--r--spec/rtems/option/req/default-equals.yml15
-rw-r--r--spec/rtems/option/val/options.yml13
2 files changed, 28 insertions, 0 deletions
diff --git a/spec/rtems/option/req/default-equals.yml b/spec/rtems/option/req/default-equals.yml
new file mode 100644
index 00000000..bf133569
--- /dev/null
+++ b/spec/rtems/option/req/default-equals.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: ../if/default
+non-functional-type: interface
+rationale: null
+references: []
+requirement-type: non-functional
+text: |
+ The value of macro ${../if/default:/name} shall be equal
+ to the value of expression ``${../if/wait:/name}``.
+type: requirement
diff --git a/spec/rtems/option/val/options.yml b/spec/rtems/option/val/options.yml
index 21a8c0ee..6659e26d 100644
--- a/spec/rtems/option/val/options.yml
+++ b/spec/rtems/option/val/options.yml
@@ -85,6 +85,19 @@ test-actions:
- role: validation
uid: ../if/no-wait
links: []
+- action-brief: |
+ Check the value of ${../if/default:/name}.
+ action-code: |
+ /* No action */
+ checks:
+ - brief: |
+ Check ${..//if/default:/name} equals ``${../if/wait:/name}``.
+ code: |
+ T_step_eq_int( ${step}, ${../if/default:/name}, ${../if/wait:/name} );
+ links:
+ - role: validation
+ uid: ../req/default-equals
+ links: []
test-brief: |
Tests the option constants of the Classic API.
test-context: []