Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 22:10:27 -0400 (EDT)
From:      Susan Stanziano <susan.stanziano@xinuos.com>
To:        NGie Cooper <yaneurabeya@gmail.com>
Cc:        freebsd-testing <freebsd-testing@freebsd.org>
Subject:   Re: Kyua reporting tool question
Message-ID:  <359307252.2304183.1554948627748.JavaMail.zimbra@xinuos.com>
In-Reply-To: <80FAC842-ECCB-438F-BBC4-0995A7C1D7B1@gmail.com>
References:  <555587672.2279585.1554935416410.JavaMail.zimbra@xinuos.com> <80FAC842-ECCB-438F-BBC4-0995A7C1D7B1@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@gmail.com> 
To: "Susan Stanziano" <susan.stanziano@xinuos.com> 
Cc: "freebsd-testing" <freebsd-testing@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@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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?359307252.2304183.1554948627748.JavaMail.zimbra>