summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-09 17:11:10 -0700
committerSimon Glass <sjg@chromium.org>2019-01-14 17:47:13 -0700
commitdf9cf1cc08d73af765f0f434909295ac6fed2c4b (patch)
treefd2091e5077bf8693db4b8c0df9644ec14a119bd /tools
parentd8e9cf4d473fc223c272301351becb29bd18ed2a (diff)
test: dm: regmap: Fix the long test delay
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@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions