From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 2 Feb 2021 09:31:44 -0500 Subject: [PATCH v2] test/py: fix runtest wrapper for pytest 6 In-Reply-To: <20210131031218.172750-1-swarren@wwwdotorg.org> References: <20210131031218.172750-1-swarren@wwwdotorg.org> Message-ID: <20210202143144.GL10169@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Jan 30, 2021 at 08:12:18PM -0700, Stephen Warren wrote: > The implementation of pytest_runtest_protocol() must call > pytest_runtest_logstart() and pytest_runtest_logfinish(). This appears to > be necessary even in pytest 5.2.1 judging by the default version of > pytest_runtest_protocol(), but evidently some form of code reorganization > in pytest only made this have a practical effect in the newer version. I'd > previously been under the impression that 100% of the required work of > pytest_runtest_protocol() was handled by the fact it called > runtestprotocol() as its implementation. However, it appears that custom > implementations do need to do a little more than this. > > Reported-by: Heinrich Schuchardt > Signed-off-by: Stephen Warren > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: