[rtems-central commit] validation: Substitute context documnetation

Sebastian Huber sebh at rtems.org
Wed Mar 17 17:37:29 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    b8be70423463cc3d83388ddf972abd8022bc48eb
Changeset: http://git.rtems.org/rtems-central/commit/?id=b8be70423463cc3d83388ddf972abd8022bc48eb

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar 17 14:57:55 2021 +0100

validation: Substitute context documnetation

---

 rtemsspec/validation.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rtemsspec/validation.py b/rtemsspec/validation.py
index 61d9ab9..05bb2bc 100644
--- a/rtemsspec/validation.py
+++ b/rtemsspec/validation.py
@@ -323,8 +323,9 @@ class _TestItem:
         content.append("typedef struct {")
         with content.indent():
             for info in self["test-context"]:
-                content.add_description_block(info["brief"],
-                                              info["description"])
+                content.add_description_block(
+                    self.substitute_text(info["brief"]),
+                    self.substitute_text(info["description"]))
                 content.add(f"{info['member'].strip()};")
             self.add_default_context_members(content)
         content.add([



More information about the vc mailing list