[PATCH i-g-t 3/6] tests/kms_color: Restrict the execution of subtests to single pipe
Nidhi Gupta
nidhi1.gupta at intel.com
Thu Jan 5 04:35:17 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_color.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/tests/kms_color.c b/tests/kms_color.c
index e0c6a8bf..98900eb3 100644
--- a/tests/kms_color.c
+++ b/tests/kms_color.c
@@ -904,6 +904,9 @@ run_invalid_tests_for_pipe(data_t *data)
igt_dynamic_f("pipe-%s", kmstest_pipe_name(pipe))
tests[i].test_t(data, pipe);
+
+ /*Restrict the execution on single pipe*/
+ break;
}
}
}
@@ -1012,6 +1015,8 @@ run_tests_for_pipe(data_t *data)
for_each_pipe(&data->display, pipe) {
run_gamma_degamma_tests_for_pipe(data, pipe,
gamma_degamma_tests[i].test_t);
+ /*Restrict the execution on single pipe*/
+ break;
}
}
}
@@ -1024,6 +1029,8 @@ run_tests_for_pipe(data_t *data)
ctm_tests[i].colors,
ctm_tests[i].ctm,
ctm_tests[i].iter);
+ /*Restrict the execution on single pipe*/
+ break;
}
}
}
@@ -1035,6 +1042,8 @@ run_tests_for_pipe(data_t *data)
igt_subtest_with_dynamic("deep-color") {
for_each_pipe(&data->display, pipe) {
run_deep_color_tests_for_pipe(data, pipe);
+ /*Restrict the execution on single pipe*/
+ break;
}
}
}
--
2.25.1
More information about the Intel-gfx-trybot
mailing list