mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 20:34:38 +00:00
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:
parent
cebdc5376f
commit
446e6f9cd3
3 changed files with 1 additions and 12 deletions
|
@ -39,7 +39,6 @@ int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
int do_ut_hush(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_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_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
|
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
|
|
|
@ -53,13 +53,3 @@ static int measure(struct unit_test_state *uts)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
MEASUREMENT_TEST(measure, 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),
|
SUITE(setexpr),
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_MEASURED_BOOT
|
#ifdef CONFIG_MEASURED_BOOT
|
||||||
SUITE_CMD(measurement, do_ut_measurement),
|
SUITE(measurement),
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_SANDBOX
|
#ifdef CONFIG_SANDBOX
|
||||||
#if CONFIG_IS_ENABLED(BLOBLIST)
|
#if CONFIG_IS_ENABLED(BLOBLIST)
|
||||||
|
|
Loading…
Add table
Reference in a new issue