Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2015 |
| 4 | * Joe Hershberger, National Instruments, joe.hershberger@ni.com |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 5 | */ |
| 6 | |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 7 | #include <command.h> |
| 8 | #include <test/env.h> |
| 9 | #include <test/suites.h> |
| 10 | #include <test/ut.h> |
| 11 | |
Simon Glass | ed38aef | 2020-05-10 11:40:03 -0600 | [diff] [blame] | 12 | int do_ut_env(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 13 | { |
Simon Glass | b50211f | 2021-03-07 17:35:10 -0700 | [diff] [blame] | 14 | struct unit_test *tests = UNIT_TEST_SUITE_START(env_test); |
| 15 | const int n_ents = UNIT_TEST_SUITE_COUNT(env_test); |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 16 | |
Philippe Reynes | 1f99f84 | 2019-12-17 19:07:04 +0100 | [diff] [blame] | 17 | return cmd_ut_category("environment", "env_test_", |
| 18 | tests, n_ents, argc, argv); |
Joe Hershberger | 26e038f | 2015-05-20 14:27:36 -0500 | [diff] [blame] | 19 | } |