blob: f1bbab6055be05444809b98a63032a336409d241 [file] [log] [blame]
Simon Glass573c0fa2020-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
Simon Glass573c0fa2020-07-28 19:41:14 -06008#include <command.h>
9#include <test/suites.h>
10#include <test/test.h>
11
12int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
13{
Simon Glassb50211f2021-03-07 17:35:10 -070014 struct unit_test *tests = UNIT_TEST_SUITE_START(mem_test);
15 const int n_ents = UNIT_TEST_SUITE_COUNT(mem_test);
Simon Glass573c0fa2020-07-28 19:41:14 -060016
Patrick Delaunay704679d2020-11-19 10:08:42 +010017 return cmd_ut_category("cmd_mem", "mem_test_", tests, n_ents, argc,
Simon Glass573c0fa2020-07-28 19:41:14 -060018 argv);
19}