summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-07 17:34:46 -0700
committerTom Rini <trini@konsulko.com>2021-03-12 09:57:29 -0500
commit409f4a2a7280abc6fe22447f7c1933fc5f669539 (patch)
tree89274cb2d60ecddb11d1ea2f6fe7d9e834d46801 /include
parent4bc639ee1181dc25df733da5de76ce4ea4b3f406 (diff)
downloadu-boot-409f4a2a7280abc6fe22447f7c1933fc5f669539.tar.gz
u-boot-409f4a2a7280abc6fe22447f7c1933fc5f669539.tar.bz2
u-boot-409f4a2a7280abc6fe22447f7c1933fc5f669539.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/test/test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/test/test.h b/include/test/test.h
index 27585507d8..d282cb2362 100644
--- a/include/test/test.h
+++ b/include/test/test.h
@@ -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 */