From 76cd36cdcae6a9e70905e4fdbc7d140072b9d4d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Mon, 30 Sep 2024 22:53:10 +0200 Subject: [PATCH] squash: fix underscore usage --- docs/releases.rst | 2 +- spec/plans/results.fmf | 10 +++++----- tmt/schemas/results.yaml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/releases.rst b/docs/releases.rst index 508df7f242..72c77295dc 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -41,7 +41,7 @@ You may encounter this in the verbose log of ``tmt tests show`` or plan/test imports. :ref:`Result specification` now defines -``original_result`` key holding the original outcome of a test, subtest +``original-result`` key holding the original outcome of a test, subtest or test checks. The effective outcome, stored in ``result`` key, is computed from the original outcome, and it is affected by inputs like :ref:`test result interpretation` or diff --git a/spec/plans/results.fmf b/spec/plans/results.fmf index 39e9c7044c..732ae155c6 100644 --- a/spec/plans/results.fmf +++ b/spec/plans/results.fmf @@ -31,7 +31,7 @@ description: | result: "pass"|"fail"|"info"|"warn"|"error"|"skip" # String, the original outcome of the test execution. - original_result: "pass"|"fail"|"info"|"warn"|"error"|"skip" + original-result: "pass"|"fail"|"info"|"warn"|"error"|"skip" # String, optional comment to report with the result. note: "Things were great." @@ -86,7 +86,7 @@ description: | - result: "pass"|"fail"|"info"|"warn"|"error"|"skip" # String, the original outcome of the check execution. - original_result: "pass"|"fail"|"info"|"warn"|"error"|"skip" + original-result: "pass"|"fail"|"info"|"warn"|"error"|"skip" # String, optional comment to report with the result. note: "Things were great." @@ -124,7 +124,7 @@ description: | result: "pass"|"fail"|"info"|"warn"|"error"|"skip" # String, the original outcome of the phase execution. - original_result: "pass"|"fail"|"info"|"warn"|"error"|"skip" + original-result: "pass"|"fail"|"info"|"warn"|"error"|"skip" # String, optional comment to report with the result. note: "Things were great." @@ -219,7 +219,7 @@ description: | original test result in the custom result set to the value known to tmt. - The ``original_result`` key holds the outcome of a test, check or + The ``original-result`` key holds the outcome of a test, check or subresult as reported by the test, check or subresult itself, without any additional influence. A reported outcome may be a subject to interpretation, and tmt may @@ -254,7 +254,7 @@ description: | phase results are now renamed to the ``subresult`` key. .. versionchanged:: 1.37 - original result of test, subtest and check is stored in ``original_result`` key. + original result of test, subtest and check is stored in ``original-result`` key. __ https://github.com/teemtee/tmt/blob/main/tmt/schemas/results.yaml diff --git a/tmt/schemas/results.yaml b/tmt/schemas/results.yaml index 3c48b8c12d..8ce1ca6b0c 100644 --- a/tmt/schemas/results.yaml +++ b/tmt/schemas/results.yaml @@ -29,7 +29,7 @@ definitions: result: $ref: "/schemas/common#/definitions/result_outcome" - original_result: + original-result: $ref: "/schemas/common#/definitions/result_outcome" note: @@ -66,7 +66,7 @@ definitions: result: $ref: "/schemas/common#/definitions/result_outcome" - original_result: + original-result: $ref: "/schemas/common#/definitions/result_outcome" note: @@ -126,7 +126,7 @@ items: result: $ref: "/schemas/common#/definitions/result_outcome" - original_result: + original-result: $ref: "/schemas/common#/definitions/result_outcome" context: