diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-05-20 14:27:30 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-21 09:16:17 -0400 |
commit | c812f722f8bdf2785cfebf4fd272afe2117d6469 (patch) | |
tree | 97b5cdb8f918817b4011e5d7c6e04cf5f3d913dd /test/time_ut.c | |
parent | 40441e0bd34425994c6feb7a3e78fa84b23d7244 (diff) | |
download | u-boot-c812f722f8bdf2785cfebf4fd272afe2117d6469.tar.gz |
test: dm: Move the time test over to the ut command
Unify the command for running unit tests further by moving the "ut_time"
command over to "ut time".
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'test/time_ut.c')
-rw-r--r-- | test/time_ut.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/time_ut.c b/test/time_ut.c index 6b52245d7f..8ca9fcb6aa 100644 --- a/test/time_ut.c +++ b/test/time_ut.c @@ -116,7 +116,7 @@ static int test_udelay(void) return 0; } -static int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int ret = 0; @@ -129,9 +129,3 @@ static int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return ret ? CMD_RET_FAILURE : CMD_RET_SUCCESS; } - -U_BOOT_CMD( - ut_time, 1, 1, do_ut_time, - "Very basic test of time functions", - "" -); |