Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 15:27:06 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Julio Merino <jmmv@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Missing atf-check output: example:failing_test -> failed: atf-check failed; see the output of the test for details
Message-ID:  <CAOtMX2i3L0vug4zFmd7T7qHZf6ms%2BpQcHqr-YsGrF-v5By5-uA@mail.gmail.com>
In-Reply-To: <CAFY7cWAQEvAHeNO-yugneEbsYsntZaEz=ruthSeZ%2BXjcz_xbTA@mail.gmail.com>
References:  <5ee51891.12b049e9@fabiankeil.de> <CAOtMX2j=NMyacDw8gV=N7eS07G5SJ_bL=ktPDDHVGC7QFc9M9A@mail.gmail.com> <450da50a.02ce9897@fabiankeil.de> <CAOtMX2i6ziW%2BWqQ2jcRWNesNOFbiat2psEi8bvb0qTb2=93ukg@mail.gmail.com> <CAFY7cWAQEvAHeNO-yugneEbsYsntZaEz=ruthSeZ%2BXjcz_xbTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 28, 2014 at 3:18 PM, Julio Merino <jmmv@freebsd.org> wrote:
> On Mon, Jul 28, 2014 at 9:11 AM, Alan Somers <asomers@freebsd.org> wrote:
>> On Sat, Jul 26, 2014 at 2:58 AM, Fabian Keil
>> <freebsd-listen@fabiankeil.de> wrote:
>>> Not showing test failures on the cli by default seems like a strange
>>> design decision to me, but I guess I'll get used to it or write a
>>> wrapper script that calls kyua debug for all tests.
>
> Test failures are shown on the CLI by default. What is not shown is
> the output of the test cases. It'd be too verbose and would prevent
> having any sense of progress of the execution.
>
> Making it an option to display the output during "make test" is a
> reasonable request but it's also non-trivial at the moment. Feel free
> to file a feature request for this.
>
>> I don't recommend calling "kyua debug" for all tests.  The best
>> approach is to run "kyua test; kyua report-html <options>".  The HTML
>> report will show you the full stdout and stderr output of each failing
>> test case.
>
> We should actually just make "kyua report" show the stdout and stderr,
> and this is easier to do. Having to resort to report-html is... just
> ugly.
>
> I just haven't thought about a UI for it.  Maybe "kyua report
> --show-output [test cases]" would be good enough?

How about "kyua report --verbose".  Seems more conventional.

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2i3L0vug4zFmd7T7qHZf6ms%2BpQcHqr-YsGrF-v5By5-uA>