aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoe Hershberger2015-05-20 14:27:29 -0500
committerTom Rini2015-05-21 09:16:17 -0400
commit40441e0bd34425994c6feb7a3e78fa84b23d7244 (patch)
tree96874d705e679cb25cc3788e53db6a80dea9bcd6 /include
parentc617ede08ad0583e0e015e76ebda2c5d2f6b5854 (diff)
test: dm: Move the dm tests over to the ut command
Unify the command for running unit tests further by moving the "dm test" command over to "ut dm". Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/dm/test.h11
-rw-r--r--include/test/suites.h2
2 files changed, 2 insertions, 11 deletions
diff --git a/include/dm/test.h b/include/dm/test.h
index 98f2b9e9963..a4bc5c8404a 100644
--- a/include/dm/test.h
+++ b/include/dm/test.h
@@ -202,15 +202,4 @@ void dm_leak_check_start(struct unit_test_state *uts);
* @dms: Overall test state
*/int dm_leak_check_end(struct unit_test_state *uts);
-
-/**
- * dm_test_main() - Run all or one of the tests
- *
- * This runs all available driver model tests, or a selected one
- *
- * @test_name: Name of test to run, or NULL for all
- * @return 0 if OK, -ve on error
- */
-int dm_test_main(const char *test_name);
-
#endif
diff --git a/include/test/suites.h b/include/test/suites.h
index eae132ec2ff..27813a362ec 100644
--- a/include/test/suites.h
+++ b/include/test/suites.h
@@ -8,4 +8,6 @@
#ifndef __TEST_SUITES_H__
#define __TEST_SUITES_H__
+int do_ut_dm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
+
#endif /* __TEST_SUITES_H__ */