From: Nidhi Gupta <nidhi1.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Nidhi Gupta <nidhi1.gupta@intel.com>
Subject: [igt-dev] [PATCH i-g-t 3/6] tests/kms_color: Restrict the execution of subtests to single pipe
Date: Mon, 9 Jan 2023 19:10:43 +0530 [thread overview]
Message-ID: <20230109134046.85340-4-nidhi1.gupta@intel.com> (raw)
In-Reply-To: <20230109134046.85340-1-nidhi1.gupta@intel.com>
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@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
next prev parent reply other threads:[~2023-01-09 13:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 13:40 [igt-dev] [PATCH i-g-t 0/6] Modified few kms tests to reduce execution time Nidhi Gupta
2023-01-09 13:40 ` [igt-dev] [PATCH i-g-t 1/6] tests/i915/kms_mmap_write_crc: Restrict the number of iteration to reduce the " Nidhi Gupta
2023-01-09 13:40 ` [igt-dev] [PATCH i-g-t 2/6] tests/kms_plane_alpha_blend: Restrict the execution of subtest to single pipe Nidhi Gupta
2023-01-09 13:40 ` Nidhi Gupta [this message]
2023-01-09 13:40 ` [igt-dev] [PATCH i-g-t 4/6] tests/kms_plane_scaling: " Nidhi Gupta
2023-01-09 13:40 ` [igt-dev] [PATCH i-g-t 5/6] tests/kms_pipe_crc_basic: " Nidhi Gupta
2023-01-09 13:40 ` [igt-dev] [PATCH i-g-t 6/6] tests/kms_async_flips: Restrict the execution of the " Nidhi Gupta
2023-01-09 18:04 ` [igt-dev] ✓ Fi.CI.BAT: success for Modified few kms tests to reduce execution time Patchwork
2023-01-10 0:23 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230109134046.85340-4-nidhi1.gupta@intel.com \
--to=nidhi1.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox