Kyua reporting tool question
Susan Stanziano
susan.stanziano at xinuos.com
Thu Apr 11 02:10:30 UTC 2019
Hi NGie,
Thanks for the response. I tried this again with:
#kyua report --results-filter=failed --output=test-output.xml
and I still see "passed" test results in the output file.
If this is the correct syntax for creating an output file with only failed test results,
then I'm beginning to wonder if somehow my script is wrong somewhere else and
I will spend some time taking it apart step by step.
Susan
From: "NGie Cooper" <yaneurabeya at gmail.com>
To: "Susan Stanziano" <susan.stanziano at xinuos.com>
Cc: "freebsd-testing" <freebsd-testing at freebsd.org>
Sent: Wednesday, April 10, 2019 6:34:55 PM
Subject: Re: Kyua reporting tool question
> On Apr 10, 2019, at 3:30 PM, Susan Stanziano <susan.stanziano at xinuos.com> wrote:
>
> Hi all,
>
> A question on the kyua reporting tool:
>
> kyua report --results-filter
>
> should not include passed tests if used without an argument.
>
> But, when I run it this way I get all results including passed.
>
> And if I run it with an argument (failed), I still get all results:
>
> kyua report --results-filter failed
>
> --results-filter types Comma-separated list of the test result types to include in the
> report. The ordering of the values is respected so that you can
> determine how you want the list of tests to be shown.
>
> The valid values are: ‘broken’, ‘failed’, ‘passed’, ‘skipped’ and
> ‘xfail’. If the parameter supplied to the option is empty, filtering
> is suppressed and all result types are shown in the report.
>
> The default value for this flag includes all the test results except
> the passed tests. Showing the passed tests by default clutters the
> report with too much information, so only abnormal conditions are
>
> Any insight is appreciated.
Hi Susan!
What happens if you use `kyua report —results-filter=failed` (note the `=`)?
-Enji
More information about the freebsd-testing
mailing list