All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: Swati Sharma <swati2.sharma@intel.com>, igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_display_modes: reduce exec. time for sim env
Date: Mon, 29 May 2023 15:30:29 +0300	[thread overview]
Message-ID: <2c6f4996-8548-2abd-eb19-3f4e4c07526b@gmail.com> (raw)
In-Reply-To: <20230526064520.310041-3-swati2.sharma@intel.com>

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

On 26.5.2023 9.45, Swati Sharma wrote:
> 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;
>   		}
>   	}
>   }

  reply	other threads:[~2023-05-29 12:30 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 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_display_modes: reduce exec. time for sim env Swati Sharma
2023-05-29 12:30   ` Juha-Pekka Heikkila [this message]
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=2c6f4996-8548-2abd-eb19-3f4e4c07526b@gmail.com \
    --to=juhapekka.heikkila@gmail.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=swati2.sharma@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.