From 675555930270a60ce6fccc8ec163dffda9aa14c7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 2 Sep 2022 14:58:24 +0200 Subject: 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": -- cgit v1.2.3