[igt-dev] [PATCH i-g-t v3 0/2] Add negative tests to VGEM
Maíra Canal
mcanal at igalia.com
Fri Mar 17 14:15:44 UTC 2023
Currently the VGEM tests don't cover any negative tests. 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.
v1 -> v2:
- Don't remove "#include <stdbool.h>"
v2 -> v3:
- Drop "," and "So," (Kamil Konieczny).
- Use past tense verbs (Kamil Konieczny).
- s/the pad is zero/non-zero pad is rejected (Kamil Konieczny).
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 | 2 +-
tests/vgem_basic.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+), 28 deletions(-)
--
2.39.2
More information about the igt-dev
mailing list