mem.c 494 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Executes tests for memory-related commands
  4. *
  5. * Copyright 2020 Google LLC
  6. */
  7. #include <common.h>
  8. #include <command.h>
  9. #include <test/suites.h>
  10. #include <test/test.h>
  11. int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
  12. {
  13. struct unit_test *tests = UNIT_TEST_SUITE_START(mem_test);
  14. const int n_ents = UNIT_TEST_SUITE_COUNT(mem_test);
  15. return cmd_ut_category("cmd_mem", "mem_test_", tests, n_ents, argc,
  16. argv);
  17. }