From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] test/py: ensure a log section exists for skipped tests
Date: Sun, 23 Oct 2016 21:40:40 -0400 [thread overview]
Message-ID: <20161024014040.GG18591@bill-the-cat> (raw)
In-Reply-To: <20161017232552.29613-1-swarren@wwwdotorg.org>
On Mon, Oct 17, 2016 at 05:25:52PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> In pytest 3, runtestprotocol() may not call pytest_runtest_setup() if
> the test is skipped. That call is required to create a section for the
> test in the log file. If this is skipped, the call to log.end_section()
> at the tail of pytest_runtest_protocol() will throw an exception. This
> patch ensures that a log section always exists, both to avoid the
> exception and to ensure that a consistently structured log file is
> always created.
>
> Cc: Stefan Br?ns <stefan.bruens@rwth-aachen.de>
> Reported-by: Stefan Br?ns <stefan.bruens@rwth-aachen.de>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> Tested-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161023/0e9619a0/attachment.sig>
prev parent reply other threads:[~2016-10-24 1:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-17 23:25 [U-Boot] [PATCH] test/py: ensure a log section exists for skipped tests Stephen Warren
2016-10-19 20:13 ` [U-Boot] " Tom Rini
2016-10-24 1:40 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161024014040.GG18591@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.