From: "Maíra Canal" <mcanal@igalia.com>
To: Melissa Wen <mwen@igalia.com>, Daniel Vetter <daniel@ffwll.ch>,
Petri Latvala <adrinael@adrinael.net>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 0/2] Add negative tests to VGEM
Date: Thu, 9 Mar 2023 10:39:21 -0300 [thread overview]
Message-ID: <20230309133923.124095-1-mcanal@igalia.com> (raw)
Currently, the VGEM tests don't cover any negative tests. So, by inspecting
the driver code, add tests that input invalid arguments and then, check if
the driver is returning the correct values.
In the first patch, update VGEM to use the UAPI header instead of having it
defined in the source code and in the second patch, introduce the negative
tests.
Best Regards,
- Maíra Canal
Maíra Canal (2):
lib/igt_vgem: Use UAPI header
tests/vgem_basic: Add negative tests
lib/igt_vgem.c | 36 +++++++-------------------
lib/igt_vgem.h | 4 +--
tests/vgem_basic.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+), 30 deletions(-)
--
2.39.2
next reply other threads:[~2023-03-09 13:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 13:39 Maíra Canal [this message]
2023-03-09 13:39 ` [igt-dev] [PATCH i-g-t 1/2] lib/igt_vgem: Use UAPI header Maíra Canal
2023-03-09 13:39 ` [igt-dev] [PATCH i-g-t 2/2] tests/vgem_basic: Add negative tests Maíra Canal
2023-03-09 13:43 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Add negative tests to VGEM Patchwork
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=20230309133923.124095-1-mcanal@igalia.com \
--to=mcanal@igalia.com \
--cc=adrinael@adrinael.net \
--cc=daniel@ffwll.ch \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=mwen@igalia.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