Skip to content

Commit

Permalink
Update test result spec with check-result
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhoyer committed Sep 30, 2024
1 parent 7a73ce5 commit ea54015
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/tests/result.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ description: |

.. versionadded:: 1.35

Additionally, the `check-result` attribute can be used to specify
how check results should be interpreted:

respect
check results are respected (test fails if any check fails) - default value
ignore
check results are ignored (test result is not affected by check failures)

.. versionadded:: 1.37

example:
- |
Expand All @@ -42,7 +51,12 @@ example:
# Look for $TMT_TEST_DATA/results.yaml (or results.json) with custom results
result: custom

- |
# Ignore check failures
check-result: ignore

link:
- implemented-by: /tmt/base.py
- verified-by: /tests/execute/result
- verified-by: /tests/execute/result/custom
- verified-by: /tests/execute/result/check_results

0 comments on commit ea54015

Please sign in to comment.