On 15 April 2015 at 05:07, Przemyslaw Marczak <[email protected]> wrote: > This commit introduces simple tests for functions: > - uclass_find_first_device() > - uclass_find_next_device() > - uclass_first_device() > - uclass_next_device() > > Tests added by this commit: > - Test: dm_test_uclass_devices_find: > * call uclass_find_first_device(), then check if: (dev != NULL), (ret == 0) > * for the rest devices, call uclass_find_next_device() and do the same check > > - Test: dm_test_uclass_devices_get: > * call uclass_first_device(), then check if: > -- (dev != NULL), (ret == 0), device_active() > * for the rest devices, call uclass_next_device() and do the same check > > Signed-off-by: Przemyslaw Marczak <[email protected]> > Cc: Simon Glass <[email protected]> > Acked-by: Simon Glass <[email protected]> > --- > Changes V3: > - new commit > > Changes V4: > - add Acked-by
Applied to u-boot-dm, thanks! _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

