summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-29 14:12:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-18 13:27:36 +0200
commit4f28d90a474c095deb55c6db85e9da183084aac1 (patch)
tree7f3df561120ec72d1b674471e0835c06298ffee1 /rtemsspec/tests
parenttests: Add and use get_and_clear_log() (diff)
downloadrtems-central-4f28d90a474c095deb55c6db85e9da183084aac1.tar.bz2
specdoc: Add pattern to ignore types
Diffstat (limited to 'rtemsspec/tests')
-rw-r--r--rtemsspec/tests/spec-doc/f.yml25
-rw-r--r--rtemsspec/tests/test_specdoc.py2
2 files changed, 27 insertions, 0 deletions
diff --git a/rtemsspec/tests/spec-doc/f.yml b/rtemsspec/tests/spec-doc/f.yml
new file mode 100644
index 00000000..37b8161f
--- /dev/null
+++ b/rtemsspec/tests/spec-doc/f.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ f1:
+ description: null
+ spec-type: name
+ f2:
+ description: null
+ spec-type: none
+ description: null
+ mandatory-attributes:
+ - f1
+ - f2
+spec-name: F
+spec-type: f
+type: spec
diff --git a/rtemsspec/tests/test_specdoc.py b/rtemsspec/tests/test_specdoc.py
index 77fbbbd2..8b4eccb4 100644
--- a/rtemsspec/tests/test_specdoc.py
+++ b/rtemsspec/tests/test_specdoc.py
@@ -45,6 +45,8 @@ def test_document(tmpdir):
"Specification Item Hierarchy",
"hierarchy-text":
"The specification item types have the following hierarchy:",
+ "ignore":
+ "^f$",
"item-types-subsection-name":
"Specification Item Types",
"label-prefix":