summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-02 14:58:24 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-02 14:58:24 +0200
commit675555930270a60ce6fccc8ec163dffda9aa14c7 (patch)
tree1ed574167898b71d939885cc95ffbd1943223da9
parentitems: Add create_unique_link() (diff)
downloadrtems-central-675555930270a60ce6fccc8ec163dffda9aa14c7.tar.bz2
specview.py: Use augment_with_test_case_links()
-rwxr-xr-xspecview.py5
1 files changed, 4 insertions, 1 deletions
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":