mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
test: Drop the function for running mem tests
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1ade3afa2d
commit
bda212bad5
4 changed files with 2 additions and 22 deletions
|
@ -40,7 +40,6 @@ int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
int do_ut_hush(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
int do_ut_hush(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
int do_ut_loadm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
int do_ut_loadm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
int do_ut_measurement(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
|
int do_ut_measurement(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
|
||||||
int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
|
||||||
int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
|
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
|
|
|
@ -10,7 +10,7 @@ endif
|
||||||
ifdef CONFIG_CONSOLE_RECORD
|
ifdef CONFIG_CONSOLE_RECORD
|
||||||
obj-$(CONFIG_CMD_PAUSE) += test_pause.o
|
obj-$(CONFIG_CMD_PAUSE) += test_pause.o
|
||||||
endif
|
endif
|
||||||
obj-y += exit.o mem.o
|
obj-y += exit.o
|
||||||
obj-$(CONFIG_X86) += cpuid.o msr.o
|
obj-$(CONFIG_X86) += cpuid.o msr.o
|
||||||
obj-$(CONFIG_CMD_ADDRMAP) += addrmap.o
|
obj-$(CONFIG_CMD_ADDRMAP) += addrmap.o
|
||||||
obj-$(CONFIG_CMD_BDI) += bdinfo.o
|
obj-$(CONFIG_CMD_BDI) += bdinfo.o
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0+
|
|
||||||
/*
|
|
||||||
* Executes tests for memory-related commands
|
|
||||||
*
|
|
||||||
* Copyright 2020 Google LLC
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <command.h>
|
|
||||||
#include <test/suites.h>
|
|
||||||
#include <test/test.h>
|
|
||||||
|
|
||||||
int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|
||||||
{
|
|
||||||
struct unit_test *tests = UNIT_TEST_SUITE_START(mem);
|
|
||||||
const int n_ents = UNIT_TEST_SUITE_COUNT(mem);
|
|
||||||
|
|
||||||
return cmd_ut_category("mem", "mem_test_", tests, n_ents, argc,
|
|
||||||
argv);
|
|
||||||
}
|
|
|
@ -161,7 +161,7 @@ static struct suite suites[] = {
|
||||||
&& defined(CONFIG_MMC_SANDBOX) && defined(CONFIG_MMC_WRITE)
|
&& defined(CONFIG_MMC_SANDBOX) && defined(CONFIG_MMC_WRITE)
|
||||||
SUITE(mbr),
|
SUITE(mbr),
|
||||||
#endif
|
#endif
|
||||||
SUITE_CMD(mem, do_ut_mem),
|
SUITE(mem),
|
||||||
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_SETEXPR)
|
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_SETEXPR)
|
||||||
SUITE_CMD(setexpr, do_ut_setexpr),
|
SUITE_CMD(setexpr, do_ut_setexpr),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue