[PATCH v2 3/8] tests: gpt: Remove test order dependency

Joshua Watt jpewhacker at gmail.com
Thu Aug 24 05:29:14 CEST 2023


On Wed, Aug 23, 2023 at 5:59 PM Simon Glass <sjg at chromium.org> wrote:
>
> Hi Joshua,
>
> On Wed, 23 Aug 2023 at 10:48, Joshua Watt <jpewhacker at gmail.com> wrote:
> >
> > Re-create a clean disk image for each test to prevent modifications from
> > one test affecting another
> >
> > Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> > ---
> >  test/py/tests/test_gpt.py | 20 ++++++++------------
> >  1 file changed, 8 insertions(+), 12 deletions(-)
>
> I suppose this is OK, but is it expensive in terms of time?

There wasn't a noticeable slowdown in test execution time on my
(admittedly powerful) workstation.

>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Regards,
> Simon


More information about the U-Boot mailing list