diff options
Diffstat (limited to 'test/dm')
-rw-r--r-- | test/dm/test-main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dm/test-main.c b/test/dm/test-main.c index 53c3a6ebbd4..0477d2fa735 100644 --- a/test/dm/test-main.c +++ b/test/dm/test-main.c @@ -111,6 +111,11 @@ static int dm_test_main(const char *test_name) printf("Failures: %d\n", uts->fail_count); + gd->dm_root = NULL; + ut_assertok(dm_init()); + dm_scan_platdata(false); + dm_scan_fdt(gd->fdt_blob, false); + return uts->fail_count ? CMD_RET_FAILURE : 0; } |