blob: fa6770e8c03732187d0bd6a9c2486184042309aa [file] [log] [blame]
Simon Glass550a9e72020-07-28 19:41:14 -06001// 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
13int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
14{
15 struct unit_test *tests = ll_entry_start(struct unit_test, mem_test);
16 const int n_ents = ll_entry_count(struct unit_test, mem_test);
17
18 return cmd_ut_category("cmd_mem", "cmd_mem_", tests, n_ents, argc,
19 argv);
20}