[rtems-central commit] specview.py: Use augment_with_test_case_links()
Sebastian Huber
sebh at rtems.org
Fri Sep 2 12:49:20 UTC 2022
Module: rtems-central
Branch: master
Commit: 675555930270a60ce6fccc8ec163dffda9aa14c7
Changeset: http://git.rtems.org/rtems-central/commit/?id=675555930270a60ce6fccc8ec163dffda9aa14c7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 2 14:58:24 2022 +0200
specview.py: Use augment_with_test_case_links()
---
specview.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/specview.py b/specview.py
index 00e99f70..8c63380f 100755
--- a/specview.py
+++ b/specview.py
@@ -36,10 +36,12 @@ from rtemsspec.rtems import augment_with_test_links, is_pre_qualified
from rtemsspec.sphinxcontent import SphinxContent
from rtemsspec.transitionmap import Transition, TransitionMap
from rtemsspec.util import load_config
+from rtemsspec.validation import augment_with_test_case_links
_CHILD_ROLES = [
"requirement-refinement", "interface-ingroup", "interface-ingroup-hidden",
- "interface-function", "appl-config-group-member", "glossary-member"
+ "interface-function", "appl-config-group-member", "glossary-member",
+ "test-case"
]
_PARENT_ROLES = ["function-implementation", "interface-enumerator"]
@@ -424,6 +426,7 @@ def main() -> None:
config = load_config("config.yml")
item_cache = ItemCache(config["spec"])
augment_with_test_links(item_cache)
+ augment_with_test_case_links(item_cache)
root = item_cache["/req/root"]
if args.filter == "none":
More information about the vc
mailing list