From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 3/3] tests/kms_display_modes: reduce exec. time for sim env
Date: Fri, 26 May 2023 12:15:20 +0530 [thread overview]
Message-ID: <20230526064520.310041-3-swati2.sharma@intel.com> (raw)
In-Reply-To: <20230526064520.310041-1-swati2.sharma@intel.com>
For simulation environment, we can reduce execution time
by running test only on one valid output on pipe.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_display_modes.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
index d69c7b93..b963c609 100644
--- a/tests/kms_display_modes.c
+++ b/tests/kms_display_modes.c
@@ -169,6 +169,12 @@ static void run_extendedmode_test(data_t *data) {
pipe2, output2);
}
}
+ /*
+ * For simulation env, no need to run
+ * test with each valid output on pipe.
+ */
+ if (igt_run_in_simulation())
+ break;
}
}
}
--
2.25.1
next prev parent reply other threads:[~2023-05-26 6:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 6:45 [igt-dev] [PATCH i-g-t 1/3] tests/kms_cursor_crc: limit test to one pipe for sim Swati Sharma
2023-05-26 6:45 ` [igt-dev] [PATCH i-g-t 2/3] tests/tests/kms_cursor_crc: remove extra \n Swati Sharma
2023-05-29 12:30 ` Juha-Pekka Heikkila
2023-05-29 14:40 ` Sharma, Swati2
2023-05-26 6:45 ` Swati Sharma [this message]
2023-05-29 12:30 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_display_modes: reduce exec. time for sim env Juha-Pekka Heikkila
2023-05-29 14:40 ` Sharma, Swati2
2023-05-26 13:02 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_cursor_crc: limit test to one pipe for sim Patchwork
2023-05-27 3:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-29 12:35 ` [igt-dev] [PATCH i-g-t 1/3] " Juha-Pekka Heikkila
2023-05-29 14:40 ` Sharma, Swati2
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=20230526064520.310041-3-swati2.sharma@intel.com \
--to=swati2.sharma@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