mirror of
https://xff.cz/git/u-boot/
synced 2025-11-02 11:26:41 +01:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user