From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, jeevan.b@intel.com,
sameer.lattannavar@intel.com, pranay.samala@intel.com
Subject: [PATCH i-g-t v3] tests/intel/kms_big_fb: Restrict runs on simulation
Date: Mon, 20 May 2024 10:31:55 +0530 [thread overview]
Message-ID: <20240520050155.435110-1-pranay.samala@intel.com> (raw)
This test executes on only one pipe and all the available planes with
set of 6 coordinates. Due to this, test takes long duration to execute
on simulation and gets timeout.
Restricting the test to execute only on one of the coordinates for
simulation.
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
tests/intel/kms_big_fb.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
index 1e45d8e42..502905974 100644
--- a/tests/intel/kms_big_fb.c
+++ b/tests/intel/kms_big_fb.c
@@ -529,6 +529,9 @@ static bool test_plane(data_t *data)
igt_assert_crc_equal(&big_crc, &small_crc);
igt_pipe_crc_stop(data->pipe_crc);
+
+ if (igt_run_in_simulation())
+ break;
}
return true;
@@ -540,6 +543,7 @@ static bool test_pipe(data_t *data)
drmModeModeInfo *mode;
igt_plane_t *primary;
bool ret = false;
+ bool run_in_simulation = igt_run_in_simulation();
igt_info("Using (pipe %s + %s) to run the subtest.\n",
kmstest_pipe_name(data->pipe), igt_output_name(data->output));
@@ -597,7 +601,7 @@ static bool test_pipe(data_t *data)
for_each_plane_on_pipe(&data->display, data->pipe, data->plane) {
ret = test_plane(data);
- if (ret)
+ if (ret || run_in_simulation)
break;
}
--
2.34.1
next reply other threads:[~2024-05-20 5:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-20 5:01 Pranay Samala [this message]
2024-05-20 10:39 ` [PATCH i-g-t v3] tests/intel/kms_big_fb: Restrict runs on simulation Kamil Konieczny
2024-05-20 14:05 ` ✓ CI.xeBAT: success for " Patchwork
2024-05-20 14:28 ` ✓ Fi.CI.BAT: " Patchwork
2024-05-20 15:21 ` ✓ CI.xeFULL: " Patchwork
2024-05-21 4:51 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-05-21 9:14 ` Kamil Konieczny
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=20240520050155.435110-1-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jeevan.b@intel.com \
--cc=karthik.b.s@intel.com \
--cc=sameer.lattannavar@intel.com \
/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