mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
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:
parent
e6959512b6
commit
d5e5cb48e6
4 changed files with 1 additions and 22 deletions
|
@ -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,
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
Loading…
Add table
Reference in a new issue