public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/5] dm: core: Fix up test failures
@ 2015-04-19 13:20 Simon Glass
  2015-04-19 13:20 ` [U-Boot] [PATCH 1/5] dm: core: Handle recursive unbinding of uclass devices Simon Glass
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Simon Glass @ 2015-04-19 13:20 UTC (permalink / raw)
  To: u-boot

While implementing the USB tests some strange failures crept in. I was not
able to debug them at the time and they were seemingly independent of the
USB tests. I then forgot about it.

I have now tracked these failures down. This series corrects them so that
the driver model tests run from start to finish.

The main problems are:

- recursive calls to uclass device_unbind() are not handled from within
   uclass_destroy()
- dm_test_uclass_before_ready() can stop sandbox from working correctly for
   tests that run after it

This series fixes these as well as a minor LCD console problem with sandbox.
It also updates the driver model README for recently added tests.


Simon Glass (5):
  dm: core: Handle recursive unbinding of uclass devices
  dm: usb: Add a terminator to the string destructor list
  lcd: Call lcd_sync() after completing the scroll
  dm: Update the README to reflect the current test output
  dm: test: Don't clear global_data in dm_test_uclass_before_ready()

 common/lcd_console.c           |  2 +-
 doc/driver-model/README.txt    | 58 ++++++++++++++++++++++++++++++++++++------
 drivers/core/uclass.c          | 12 +++++++--
 drivers/usb/emul/sandbox_hub.c |  1 +
 test/dm/core.c                 |  6 +++--
 5 files changed, 66 insertions(+), 13 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-04-22 18:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-19 13:20 [U-Boot] [PATCH 0/5] dm: core: Fix up test failures Simon Glass
2015-04-19 13:20 ` [U-Boot] [PATCH 1/5] dm: core: Handle recursive unbinding of uclass devices Simon Glass
2015-04-21 15:30   ` Joe Hershberger
2015-04-22 18:01     ` Simon Glass
2015-04-19 13:20 ` [U-Boot] [PATCH 2/5] dm: usb: Add a terminator to the string destructor list Simon Glass
2015-04-21 15:40   ` Joe Hershberger
2015-04-21 17:08     ` Marek Vasut
2015-04-21 17:11       ` Simon Glass
2015-04-22 18:01         ` Simon Glass
2015-04-19 13:21 ` [U-Boot] [PATCH 3/5] lcd: Call lcd_sync() after completing the scroll Simon Glass
2015-04-22 18:01   ` Simon Glass
2015-04-19 13:21 ` [U-Boot] [PATCH 4/5] dm: Update the README to reflect the current test output Simon Glass
2015-04-21 15:40   ` Joe Hershberger
2015-04-22 18:01     ` Simon Glass
2015-04-19 13:21 ` [U-Boot] [PATCH 5/5] dm: test: Don't clear global_data in dm_test_uclass_before_ready() Simon Glass
2015-04-21 16:00   ` Joe Hershberger
2015-04-22 18:01     ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox