test: Drop the function for running hush tests

Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2025-01-20 14:25:51 -07:00 committed by Tom Rini
parent e6959512b6
commit d5e5cb48e6
4 changed files with 1 additions and 22 deletions

View file

@ -32,7 +32,6 @@ int cmd_ut_category(const char *name, const char *prefix,
int do_ut_bootstd(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_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,

View file

@ -178,7 +178,7 @@ static struct suite suites[] = {
SUITE(addrmap),
#endif
#if CONFIG_IS_ENABLED(HUSH_PARSER)
SUITE_CMD(hush, do_ut_hush),
SUITE(hush),
#endif
#ifdef CONFIG_CMD_LOADM
SUITE_CMD(loadm, do_ut_loadm),

View file

@ -3,7 +3,6 @@
# (C) Copyright 2021
# Francis Laniel, Amarula Solutions, francis.laniel@amarulasolutions.com
obj-y += cmd_ut_hush.o
obj-y += if.o
ifdef CONFIG_CONSOLE_RECORD
obj-y += dollar.o

View file

@ -1,19 +0,0 @@
// SPDX-License-Identifier: GPL-2.0
/*
* (C) Copyright 2021
* Francis Laniel, Amarula Solutions, francis.laniel@amarulasolutions.com
*/
#include <command.h>
#include <test/hush.h>
#include <test/suites.h>
#include <test/ut.h>
int do_ut_hush(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
struct unit_test *tests = UNIT_TEST_SUITE_START(hush);
const int n_ents = UNIT_TEST_SUITE_COUNT(hush);
return cmd_ut_category("hush", "hush_test_",
tests, n_ents, argc, argv);
}