summaryrefslogtreecommitdiff
path: root/test/cmd
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-01-20 14:25:45 -0700
committerTom Rini <[email protected]>2025-01-24 14:34:40 -0600
commitbda212bad51797a44664bf2563490c0a3f3c4576 (patch)
treec6728e4ff090826c0daf16a91e47c1be7069f085 /test/cmd
parent1ade3afa2da2242ad1006dc393a3bb3242226d4c (diff)
test: Drop the function for running mem tests
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'test/cmd')
-rw-r--r--test/cmd/Makefile2
-rw-r--r--test/cmd/mem.c19
2 files changed, 1 insertions, 20 deletions
diff --git a/test/cmd/Makefile b/test/cmd/Makefile
index f83c53696d0..d8a5e77402d 100644
--- a/test/cmd/Makefile
+++ b/test/cmd/Makefile
@@ -10,7 +10,7 @@ endif
ifdef CONFIG_CONSOLE_RECORD
obj-$(CONFIG_CMD_PAUSE) += test_pause.o
endif
-obj-y += exit.o mem.o
+obj-y += exit.o
obj-$(CONFIG_X86) += cpuid.o msr.o
obj-$(CONFIG_CMD_ADDRMAP) += addrmap.o
obj-$(CONFIG_CMD_BDI) += bdinfo.o
diff --git a/test/cmd/mem.c b/test/cmd/mem.c
deleted file mode 100644
index 2b78e421a9c..00000000000
--- a/test/cmd/mem.c
+++ /dev/null
@@ -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);
-}