[PATCH] tests: Fix exception when cleaning up skipped test
Tom Rini
trini at konsulko.com
Tue Jul 18 15:58:20 CEST 2023
On Mon, Jul 03, 2023 at 08:35:09AM -0500, Joshua Watt wrote:
> If test_cat and test_xxd cannot create the required file, the test will
> be skipped, but this would result in an exception being raised in the
> finally block because the file didn't exist to be cleaned up. This
> caused the test to be marked as failed instead of skipped.
>
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
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: <https://lists.denx.de/pipermail/u-boot/attachments/20230718/febebc09/attachment.sig>
More information about the U-Boot
mailing list