[U-Boot] [PATCH] test: dm: regmap: Fix the long test delay
sjg at google.com
sjg at google.com
Fri Dec 28 20:47:31 UTC 2018
Hi Neil,
On Tue, 11 Dec 2018 at 01:27, Neil Armstrong <narmstrong at baylibre.com> wrote:
>
> On 10/12/2018 01:11, Simon Glass wrote:
> > At present one of the regmap tests takes 5 seconds to run since it waits
> > for a timeout. This should be handled using sandbox_timer_add_offset()
> > which advances time for test purposes.
> >
> > This requires a little change to make the regmap_read_poll_timeout()
> > testable.
> >
> > Update the macro and the test.
> >
> > Fixes: ebe3497c9c ("test: regmap: add regmap_read_poll_timeout test")
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > include/regmap.h | 14 +++++++++++++-
> > test/dm/regmap.c | 7 ++++---
> > 2 files changed, 17 insertions(+), 4 deletions(-)
> >
Applied to u-boot-dm/master, thanks!
More information about the U-Boot
mailing list