test: Drop the function for running measurement tests
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -39,7 +39,6 @@ int do_ut_bloblist(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_measurement(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,
|
||||
char *const argv[]);
|
||||
|
@@ -53,13 +53,3 @@ static int measure(struct unit_test_state *uts)
|
||||
return 0;
|
||||
}
|
||||
MEASUREMENT_TEST(measure, 0);
|
||||
|
||||
int do_ut_measurement(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
{
|
||||
struct unit_test *tests = UNIT_TEST_SUITE_START(measurement);
|
||||
const int n_ents = UNIT_TEST_SUITE_COUNT(measurement);
|
||||
|
||||
return cmd_ut_category("measurement", "measurement_test_", tests,
|
||||
n_ents, argc, argv);
|
||||
}
|
||||
|
@@ -166,7 +166,7 @@ static struct suite suites[] = {
|
||||
SUITE(setexpr),
|
||||
#endif
|
||||
#ifdef CONFIG_MEASURED_BOOT
|
||||
SUITE_CMD(measurement, do_ut_measurement),
|
||||
SUITE(measurement),
|
||||
#endif
|
||||
#ifdef CONFIG_SANDBOX
|
||||
#if CONFIG_IS_ENABLED(BLOBLIST)
|
||||
|
Reference in New Issue
Block a user