test: Rename test-main.c to test-dm.c

This is the main test function for driver model but not for other tests.
Rename the file and the function so this is clear.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-03-07 17:34:46 -07:00
committed by Tom Rini
parent 4bc639ee11
commit 409f4a2a72
4 changed files with 6 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ enum {
struct udevice *testbus_get_clear_removed(void);
/**
* dm_test_main() - Run driver model tests
* dm_test_run() - Run driver model tests
*
* Run all the available driver model tests, or a selection
*
@@ -114,6 +114,6 @@ struct udevice *testbus_get_clear_removed(void);
* "fdt_pre_reloc"), or NULL to run all
* @return 0 if all tests passed, 1 if not
*/
int dm_test_main(const char *test_name);
int dm_test_run(const char *test_name);
#endif /* __TEST_TEST_H */