test: Move dm_test_destroy() into test-main.c
authorSimon Glass <sjg@chromium.org>
Mon, 8 Mar 2021 00:34:59 +0000 (17:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Mar 2021 14:57:30 +0000 (09:57 -0500)
commite77615d3a78f43793f27cd4dbe04efc6522a05ef
tree183516c27987785617cdc9e63f1310380ea89a9d
parentc79705ea938e40e204ad90e083a0654f0598a772
test: Move dm_test_destroy() into test-main.c

Move this function into the common test runner and rename it to
dm_test_post_run() so that its purpose is clear.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/test-dm.c
test/test-main.c