From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 4 Oct 2018 10:01:35 -0600 Subject: [U-Boot] [PATCH v2 01/17] test/py: ignore console read exceptions after test failure In-Reply-To: <20181002031247.93384-2-sjg@chromium.org> References: <20181002031247.93384-1-sjg@chromium.org> <20181002031247.93384-2-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/01/2018 09:12 PM, Simon Glass 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. This probably shouldn't be in this series since I sent it separately as a standalone patch a while ago.