cmd_ut_env.c 548 B

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