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