summaryrefslogtreecommitdiff
path: root/spec-qdp
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 11:13:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 11:15:25 +0100
commit3bf2f4c13bd334bb4e9e2b05336b88f60fdf687c (patch)
tree2af29c56ee02cb679ae40563e8a9d1f98436e7f6 /spec-qdp
parentec7e9172cc36b42b70fa5469a852445ca85972e6 (diff)
testrunner: New
Diffstat (limited to 'spec-qdp')
-rw-r--r--spec-qdp/spec/qdp-test-runner-dummy.yml22
-rw-r--r--spec-qdp/spec/qdp-test-runner-grmon-manual.yml34
-rw-r--r--spec-qdp/spec/qdp-test-runner-subprocess.yml26
-rw-r--r--spec-qdp/spec/qdp-test-runner.yml35
4 files changed, 117 insertions, 0 deletions
diff --git a/spec-qdp/spec/qdp-test-runner-dummy.yml b/spec-qdp/spec/qdp-test-runner-dummy.yml
new file mode 100644
index 00000000..6f5c5834
--- /dev/null
+++ b/spec-qdp/spec/qdp-test-runner-dummy.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+- role: spec-refinement
+ spec-key: test-runner-type
+ spec-value: dummy
+ uid: qdp-test-runner
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes: {}
+ description: |
+ This set of attributes specifies a test runner which cannot run tests.
+ mandatory-attributes: all
+spec-name: Dummy Test Runner Item Type
+spec-type: qdp-test-runner-dummy
+type: spec
diff --git a/spec-qdp/spec/qdp-test-runner-grmon-manual.yml b/spec-qdp/spec/qdp-test-runner-grmon-manual.yml
new file mode 100644
index 00000000..26d89669
--- /dev/null
+++ b/spec-qdp/spec/qdp-test-runner-grmon-manual.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+- role: spec-refinement
+ spec-key: test-runner-type
+ spec-value: grmon-manual
+ uid: qdp-test-runner
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ script-base-path:
+ description: |
+ It shall be the base path for scripts.
+ spec-type: str
+ grmon-script:
+ description: |
+ It shall be the GRMON script to run the tests.
+ spec-type: str
+ shell-script:
+ description: |
+ It shall be the shell script to run the GRMON script.
+ spec-type: str
+ description: |
+ This set of attributes specifies a GRMON manual test runner.
+ mandatory-attributes: all
+spec-name: GRMON Manual Test Runner Item Type
+spec-type: qdp-test-runner-grmon-manual
+type: spec
diff --git a/spec-qdp/spec/qdp-test-runner-subprocess.yml b/spec-qdp/spec/qdp-test-runner-subprocess.yml
new file mode 100644
index 00000000..a8846c5b
--- /dev/null
+++ b/spec-qdp/spec/qdp-test-runner-subprocess.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+- role: spec-refinement
+ spec-key: test-runner-type
+ spec-value: subprocess
+ uid: qdp-test-runner
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ command:
+ description: |
+ It shall be the test runner subprocess command.
+ spec-type: list-str
+ description: |
+ This set of attributes specifies a subprocess test runner.
+ mandatory-attributes: all
+spec-name: Subprocess Test Runner Item Type
+spec-type: qdp-test-runner-subprocess
+type: spec
diff --git a/spec-qdp/spec/qdp-test-runner.yml b/spec-qdp/spec/qdp-test-runner.yml
new file mode 100644
index 00000000..0fd7de54
--- /dev/null
+++ b/spec-qdp/spec/qdp-test-runner.yml
@@ -0,0 +1,35 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+- role: spec-refinement
+ spec-key: qdp-type
+ spec-value: test-runner
+ uid: qdp-root
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ description:
+ description: |
+ It shall be the test runner description.
+ spec-type: str
+ params:
+ description: |
+ It shall be an optional set of parameters which may be used for
+ variable subsitution.
+ spec-type: any
+ test-runner-type:
+ description: |
+ It shall be the test runner type.
+ spec-type: name
+ description: |
+ This set of attributes specifies a test runner.
+ mandatory-attributes: all
+spec-name: Test Runner Item Type
+spec-type: qdp-test-runner
+type: spec