summaryrefslogtreecommitdiff
path: root/spec-qdp/qdp/steps/gcovr-qual-only-simulator.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec-qdp/qdp/steps/gcovr-qual-only-simulator.yml')
-rw-r--r--spec-qdp/qdp/steps/gcovr-qual-only-simulator.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/spec-qdp/qdp/steps/gcovr-qual-only-simulator.yml b/spec-qdp/qdp/steps/gcovr-qual-only-simulator.yml
new file mode 100644
index 00000000..cdc933cd
--- /dev/null
+++ b/spec-qdp/qdp/steps/gcovr-qual-only-simulator.yml
@@ -0,0 +1,51 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- action: subprocess
+ enabled-by: true
+ command:
+ - mkdir
+ - -p
+ - ${../deployment/coverage-simulator-html:/directory}
+ env: []
+ expected-return-code: null
+ working-directory: ${../source/rtems-qual-only:/directory}
+- action: subprocess
+ enabled-by: true
+ command:
+ - gcovr
+ - --json-summary
+ - ${../deployment/coverage-simulator-json:/file}
+ - --json-summary-pretty
+ - --gcov-executable=${../deployment/rtems-tool-suite:/directory}/bin/${../variant:/arch}-rtems${../variant:/rtems-version}-gcov
+ - --html-details
+ - ${../deployment/coverage-simulator-html:/directory}/index.html
+ - --html-medium-threshold
+ - '80.0'
+ - --html-high-threshold
+ - '100.0'
+ - --object-directory
+ - ${../build/gcda-qual-only-simulator:/directory}/${../variant:/arch}/${../variant:/bsp}-qual-only-coverage
+ - ${../build/gcda-qual-only-simulator:/directory}/${../variant:/arch}/${../variant:/bsp}-qual-only-coverage
+ env: []
+ expected-return-code: 0
+ working-directory: ${../source/rtems-qual-only:/directory}
+build-step-type: run-actions
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+description: |
+ Runs gcovr to produce a coverage report.
+enabled-by: target/simulator
+links:
+- hash: null
+ name: source
+ role: input
+ uid: ../build/gcda-qual-only-simulator
+- name: html
+ role: output
+ uid: ../deployment/coverage-simulator-html
+- name: json
+ role: output
+ uid: ../deployment/coverage-simulator-json
+params: {}
+qdp-type: build-step
+type: qdp