diff options
author | Simon Glass | 2021-03-07 17:34:55 -0700 |
---|---|---|
committer | Tom Rini | 2021-03-12 09:57:30 -0500 |
commit | 47ec3ede4efe214b4debdaf845d6eb622154f405 (patch) | |
tree | 04bebac4f5049500b744148a4dce8933c2a0053c /test/test-main.c | |
parent | 74524712873e72bad76de07be2401c10b694d25f (diff) |
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/test-main.c')
-rw-r--r-- | test/test-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-main.c b/test/test-main.c index e273777b6e2..6f0d32f7e27 100644 --- a/test/test-main.c +++ b/test/test-main.c @@ -30,6 +30,8 @@ static int do_autoprobe(struct unit_test_state *uts) int test_pre_run(struct unit_test_state *uts, struct unit_test *test) { + ut_set_skip_delays(uts, false); + uts->start = mallinfo(); if (test->flags & UT_TESTF_SCAN_PDATA) |