Simon Glass | 573c0fa | 2020-07-28 19:41:14 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Executes tests for memory-related commands |
| 4 | * |
| 5 | * Copyright 2020 Google LLC |
| 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <command.h> |
| 10 | #include <test/suites.h> |
| 11 | #include <test/test.h> |
| 12 | |
| 13 | int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
| 14 | { |
Simon Glass | b50211f | 2021-03-07 17:35:10 -0700 | [diff] [blame] | 15 | struct unit_test *tests = UNIT_TEST_SUITE_START(mem_test); |
| 16 | const int n_ents = UNIT_TEST_SUITE_COUNT(mem_test); |
Simon Glass | 573c0fa | 2020-07-28 19:41:14 -0600 | [diff] [blame] | 17 | |
Patrick Delaunay | 704679d | 2020-11-19 10:08:42 +0100 | [diff] [blame] | 18 | return cmd_ut_category("cmd_mem", "mem_test_", tests, n_ents, argc, |
Simon Glass | 573c0fa | 2020-07-28 19:41:14 -0600 | [diff] [blame] | 19 | argv); |
| 20 | } |