diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-29 19:47:09 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-11-07 16:24:30 -0700 |
commit | f7a68d228416deeb279457af8d548603abfad004 (patch) | |
tree | 544a14b6a86b6571726166f2077067053ca15dc4 /test | |
parent | 5ea894ac4285be2bebc2e7bdfd6451c699469f37 (diff) | |
download | u-boot-f7a68d228416deeb279457af8d548603abfad004.zip u-boot-f7a68d228416deeb279457af8d548603abfad004.tar.gz u-boot-f7a68d228416deeb279457af8d548603abfad004.tar.bz2 |
test: Drop an unused parameter to ut_run_test_live_flat()
The select_name parameter is not used anymore. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/test-main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test-main.c b/test/test-main.c index 867c57f..ab3b00a 100644 --- a/test/test-main.c +++ b/test/test-main.c @@ -431,12 +431,11 @@ static int ut_run_test(struct unit_test_state *uts, struct unit_test *test, * the first call to this function. On exit, @uts->fail_count is * incremented by the number of failures (0, one hopes) * @test: Test to run - * @name: Name of test, possibly skipping a prefix that should not be displayed * Return: 0 if all tests passed, -EAGAIN if the test should be skipped, -1 if * any failed */ static int ut_run_test_live_flat(struct unit_test_state *uts, - struct unit_test *test, const char *name) + struct unit_test *test) { int runs; @@ -536,7 +535,7 @@ static int ut_run_tests(struct unit_test_state *uts, const char *prefix, } old_fail_count = uts->fail_count; for (i = 0; i < uts->runs_per_test; i++) - ret = ut_run_test_live_flat(uts, test, select_name); + ret = ut_run_test_live_flat(uts, test); if (uts->fail_count != old_fail_count) { printf("Test %s failed %d times\n", select_name, uts->fail_count - old_fail_count); |