From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Petri Latvala <petri.latvala@intel.com>,
Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t] tests/gem_bad_length: drop gem_bad_length.c
Date: Tue, 03 Oct 2017 14:54:18 +0300 [thread overview]
Message-ID: <1507031658.4728.46.camel@linux.intel.com> (raw)
In-Reply-To: <20171003093223.gm5uc6x4qk7cwvgv@platvala-desk.ger.corp.intel.com>
On Tue, 2017-10-03 at 12:32 +0300, Petri Latvala wrote:
> On Mon, Oct 02, 2017 at 04:44:25PM -0700, Daniele Ceraolo Spurio wrote:
> > Most of the gem_bad_length code is compiled out because creating
> > a zero-length object is not allowed anymore by i915 and thus it is
> > not possible to execute it. The remaining part checks that creation of
> > a zero-length object does indeed fail, which is also checked by
> > gem_create/create-invalid-size.
> > The only difference between the 2 tests is that gem_bad_length checks
> > specifically for EINVAL while create-invalid-size only looks for
> > failure, so after adding the EINVAL check to create-invalid-size it is
> > safe to drop gem_bad_length.
> >
> > Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> > ---
> > tests/Makefile.sources | 1 -
> > tests/gem_bad_length.c | 133 -------------------------------------------------
> > tests/gem_create.c | 2 +-
> > 3 files changed, 1 insertion(+), 135 deletions(-)
> > delete mode 100644 tests/gem_bad_length.c
> >
> > diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> > index c4d320e..142ff2b 100644
> > --- a/tests/Makefile.sources
> > +++ b/tests/Makefile.sources
> > @@ -40,7 +40,6 @@ TESTS_progs = \
> > drv_module_reload \
> > drv_selftest \
> > drv_suspend \
> > - gem_bad_length \
> > gem_bad_reloc \
> > gem_basic \
> > gem_busy \
>
>
> Squash in:
I already did that while separating the extension of testing coverage
in gem_create and removing the test to own patches. Didn't Cc: you
though as I didn't notice this earlier.
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2017-10-03 11:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-02 23:44 [PATCH i-g-t] tests/gem_bad_length: drop gem_bad_length.c Daniele Ceraolo Spurio
2017-10-03 0:19 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-10-03 1:25 ` ✓ Fi.CI.IGT: " Patchwork
2017-10-03 9:32 ` [PATCH i-g-t] " Petri Latvala
2017-10-03 11:54 ` Joonas Lahtinen [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=1507031658.4728.46.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=petri.latvala@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.