From: "Lisovskiy, Stanislav" <stanislav.lisovskiy@intel.com>
To: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>
Cc: "Thasleem, Mohammed" <mohammed.thasleem@intel.com>,
igt-dev@lists.freedesktop.org, Thasleem@freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_display_modes: Skip the negative test on MST Hub
Date: Mon, 6 May 2024 13:15:01 +0300 [thread overview]
Message-ID: <ZjitpUBOPPn7QMrv@intel.com> (raw)
In-Reply-To: <c15749c4-03f2-dffe-3c0a-6a3458863ddd@intel.com>
On Wed, Aug 23, 2023 at 12:07:52PM +0530, Modem, Bhanuprakash wrote:
>
>
> On Fri-18-08-2023 02:14 pm, Lisovskiy, Stanislav wrote:
> > On Fri, Jul 07, 2023 at 09:07:20PM +0530, Thasleem, Mohammed wrote:
> > > Skip the test on which MST hub which support bandwidth for 2k-4k
> > > and 4k-4k multi displays.
> > >
> > > Signed-off-by: Thasleem, Mohammed <mohammed.thasleem@intel.com>
> >
> > Okay I missed the MST check in the begining of the main function, so
> >
> > Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
> >
> > > ---
> > > tests/kms_display_modes.c | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
> > > index 4bebb25e..8e117695 100644
> > > --- a/tests/kms_display_modes.c
> > > +++ b/tests/kms_display_modes.c
> > > @@ -310,6 +310,7 @@ static void run_extendedmode_negative(data_t *data, int pipe1, int pipe2)
> > > igt_require(i915_pipe_output_combo_valid(display));
> > > ret = igt_display_try_commit2(display, COMMIT_ATOMIC);
> > > + igt_skip_on_f(ret == 0, "MST Hub supports bandwidth on multi display\n");
>
> NACK
>
> Failure reason can be anything, you need to check for the precise error
> code.
From my point of view, nack is for another reason: we can't skip the negative test case,
if it just happens to potentially pass.
Scenarios where it might pass and we dont consider that as a problem should
be filtered out by using some other checks to distinguish those scenarios more
explicitly.
Otherwise here we will get the situation that this negative test case always succeeds,
because we skip it always whenever it doesn't.
Stan
>
> - Bhanu
>
> > > igt_assert(ret != 0 && errno == ENOSPC);
> > > }
> > > --
> > > 2.34.1
> > >
prev parent reply other threads:[~2024-05-06 10:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-07 15:37 [igt-dev] [PATCH i-g-t] tests/kms_display_modes: Skip the negative test on MST Hub Thasleem, Mohammed
2023-07-07 16:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-07-07 16:55 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-07 21:47 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2023-08-03 17:46 ` [igt-dev] [PATCH i-g-t] " Lisovskiy, Stanislav
2023-08-23 6:36 ` Modem, Bhanuprakash
2023-08-18 8:44 ` Lisovskiy, Stanislav
2023-08-23 6:37 ` Modem, Bhanuprakash
2024-05-06 10:15 ` Lisovskiy, Stanislav [this message]
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=ZjitpUBOPPn7QMrv@intel.com \
--to=stanislav.lisovskiy@intel.com \
--cc=Thasleem@freedesktop.org \
--cc=bhanuprakash.modem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=mohammed.thasleem@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