[igt-dev] [PATCH 3/3] runner/runner_tests: Fix name of no-subtests in unit tests
Petri Latvala
adrinael at adrinael.net
Fri Oct 20 13:30:41 UTC 2023
Now that runner normalizes no-subtest entries in testlists, make sure
the name matches what's available.
Signed-off-by: Petri Latvala <adrinael at adrinael.net>
---
runner/runner_tests.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runner/runner_tests.c b/runner/runner_tests.c
index e6024de11..11ff05bc0 100644
--- a/runner/runner_tests.c
+++ b/runner/runner_tests.c
@@ -802,7 +802,7 @@ igt_main
char filename[] = "tmplistXXXXXX";
const char testlisttext[] = "igt at successtest@first-subtest\n"
"igt at successtest@second-subtest\n"
- "igt at nosubtests\n";
+ "igt at no-subtests\n";
int multiple;
struct job_list *list = malloc(sizeof(*list));
@@ -830,7 +830,7 @@ igt_main
igt_assert_eqstr(list->entries[0].binary, "successtest");
if (!multiple) igt_assert_eqstr(list->entries[1].binary, "successtest");
- igt_assert_eqstr(list->entries[multiple ? 1 : 2].binary, "nosubtests");
+ igt_assert_eqstr(list->entries[multiple ? 1 : 2].binary, "no-subtests");
igt_assert_eq(list->entries[0].subtest_count, multiple ? 2 : 1);
igt_assert_eq(list->entries[1].subtest_count, multiple ? 0 : 1);
--
2.39.2
More information about the igt-dev
mailing list