test: Drop the function for running upl tests
Use the new suite-runner to run these tests instead. It is not clear that these actually work, since they are not enabled on sandbox for some reason. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -35,6 +35,5 @@ int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
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,
|
||||
char *const argv[]);
|
||||
int do_ut_upl(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
|
||||
#endif /* __TEST_SUITES_H__ */
|
||||
|
||||
@@ -426,11 +426,3 @@ static int upl_test_info_norun(struct unit_test_state *uts)
|
||||
return 0;
|
||||
}
|
||||
UPL_TEST(upl_test_info_norun, UTF_CONSOLE | UTF_MANUAL);
|
||||
|
||||
int do_ut_upl(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
struct unit_test *tests = UNIT_TEST_SUITE_START(upl);
|
||||
const int n_ents = UNIT_TEST_SUITE_COUNT(upl);
|
||||
|
||||
return cmd_ut_category("upl", "cmd_upl_", tests, n_ents, argc, argv);
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ static struct suite suites[] = {
|
||||
SUITE(seama),
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_UPL
|
||||
SUITE_CMD(upl, do_ut_upl),
|
||||
SUITE(upl),
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user