blob: a440b1bfb0e2f3d51749f2c0f2aa67d104c1e885 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0
Joe Hershberger26e038f2015-05-20 14:27:36 -05002/*
3 * (C) Copyright 2015
4 * Joe Hershberger, National Instruments, joe.hershberger@ni.com
Joe Hershberger26e038f2015-05-20 14:27:36 -05005 */
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
Simon Glassed38aef2020-05-10 11:40:03 -060013int do_ut_env(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
Joe Hershberger26e038f2015-05-20 14:27:36 -050014{
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);
Joe Hershberger26e038f2015-05-20 14:27:36 -050017
Philippe Reynes1f99f842019-12-17 19:07:04 +010018 return cmd_ut_category("environment", "env_test_",
19 tests, n_ents, argc, argv);
Joe Hershberger26e038f2015-05-20 14:27:36 -050020}