[igt-dev] [PATCH i-g-t 2/6] tests/kms_plane_alpha_blend: Restrict the execution of subtest to single pipe
Nidhi Gupta
nidhi1.gupta at intel.com
Mon Jan 9 13:40:42 UTC 2023
To reduce the overall execution time of the test, now
all the subtests will be executed on single pipe instead
of all the pipes.
Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
---
tests/kms_plane_alpha_blend.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c
index ccf1d657..25e6c985 100644
--- a/tests/kms_plane_alpha_blend.c
+++ b/tests/kms_plane_alpha_blend.c
@@ -621,9 +621,12 @@ static void run_subtests(data_t *data)
if (!pipe_check(data, pipe, subtests[i].blend, subtests[i].must_multiply))
continue;
- igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name)
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), output->name) {
run_test_on_pipe_planes(data, pipe, output, subtests[i].blend,
subtests[i].must_multiply, subtests[i].test);
+ }
+ /*once is enough*/
+ break;
}
}
}
--
2.25.1
More information about the igt-dev
mailing list