diff options
| author | Simon Glass <[email protected]> | 2025-01-20 14:25:47 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-24 14:34:40 -0600 |
| commit | 446e6f9cd373d4642a5da62e870cb7c46fc9e43a (patch) | |
| tree | 935726562c461dc20a06bbf632979bb8edbbfc06 /test | |
| parent | cebdc5376f9663254387c5c59c095f9f64b3eb99 (diff) | |
test: Drop the function for running measurement tests
Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/boot/measurement.c | 10 | ||||
| -rw-r--r-- | test/cmd_ut.c | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/test/boot/measurement.c b/test/boot/measurement.c index 018e8af45f0..5a49c7a6b23 100644 --- a/test/boot/measurement.c +++ b/test/boot/measurement.c @@ -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); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index f2a72adc16e..ff9976cb98a 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -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) |
