summaryrefslogtreecommitdiff
path: root/test/dm/test-dm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-08 03:34:55 +0300
committerTom Rini <trini@konsulko.com>2021-03-12 17:57:30 +0300
commit47ec3ede4efe214b4debdaf845d6eb622154f405 (patch)
tree04bebac4f5049500b744148a4dce8933c2a0053c /test/dm/test-dm.c
parent74524712873e72bad76de07be2401c10b694d25f (diff)
downloadu-boot-47ec3ede4efe214b4debdaf845d6eb622154f405.tar.xz
test: Move delay skipping to test_pre_run()
This allows delays to be skipped in sandbox tests. Move it to the common pre-init function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/test-dm.c')
-rw-r--r--test/dm/test-dm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/dm/test-dm.c b/test/dm/test-dm.c
index fdd35f663e..569ffbbad9 100644
--- a/test/dm/test-dm.c
+++ b/test/dm/test-dm.c
@@ -78,8 +78,6 @@ static int dm_do_test(struct unit_test_state *uts, struct unit_test *test,
ut_assertok(test_post_run(uts, test));
- state_set_skip_delays(false);
-
ut_assertok(dm_test_destroy(uts));
return 0;