Joe Hershberger | 421f86f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2015 |
| 3 | * Joe Hershberger, National Instruments, joe.hershberger@ni.com |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0 |
| 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <command.h> |
| 10 | #include <test/env.h> |
| 11 | #include <test/suites.h> |
| 12 | #include <test/ut.h> |
| 13 | |
| 14 | int do_ut_env(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |
| 15 | { |
| 16 | struct unit_test *tests = ll_entry_start(struct unit_test, env_test); |
| 17 | const int n_ents = ll_entry_count(struct unit_test, env_test); |
Joe Hershberger | 421f86f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 18 | |
Simon Glass | 4d869c1 | 2017-11-25 11:57:29 -0700 | [diff] [blame] | 19 | return cmd_ut_category("environment", tests, n_ents, argc, argv); |
Joe Hershberger | 421f86f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 20 | } |