From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 6 Oct 2018 20:28:34 -0400 Subject: [U-Boot] [U-Boot, V2] test/py: ignore console read exceptions after test failure In-Reply-To: <20180920225503.27029-1-swarren@wwwdotorg.org> References: <20180920225503.27029-1-swarren@wwwdotorg.org> Message-ID: <20181007002834.GA15855@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 Thu, Sep 20, 2018 at 04:55:03PM -0600, Stephen Warren wrote: > From: Stephen Warren > > After a test has failed, test/py drains the U-Boot console log to ensure > that any relevant output is captured. At this point, we don't care about > detecting any additional errors, since the test is already known to have > failed, and U-Boot will be restarted. To ensure that the test cleanup code > is not interrupted, and can correctly terminate the log sections for the > failed test, ignore any exception that occurs while reading the U-Boot > console output during this limited period of time. > > Signed-off-by: Stephen Warren 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: not available URL: