[prev in list] [next in list] [prev in thread] [next in thread] 

List:       u-boot
Subject:    Re: [U-Boot] Sandbox dm tests leave sandbox in a bad state
From:       Simon Glass <sjg () chromium ! org>
Date:       2015-04-30 22:11:39
Message-ID: CAPnjgZ0M7L5XPYk-rzBcqThnhMDHug38prn-hUp-Gkab41SOZg () mail ! gmail ! com
[Download RAW message or body]

Hi Joe,

On 30 April 2015 at 16:08, Joe Hershberger <joe.hershberger@gmail.com> wrote:
> Hi Simon,
>
> I tracked a segfault down to the entire DM being left torn down after
> the last test. This means anything that wants to use the DM is hosed.
> I'm seeing a segfault in the sandbox related to a driver name being
> NULL when running "dm tree".
>
> I also noticed that the USB test dm_test_usb_flash can't run more than
> once without crashing.
>
> Thoughts? Are these just expected and accepted limitations?

Yes that's expected.

However it would actually be possible to fix this, by re-initing
things after they are torn down. The tests don't need to be so
destructive.

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic