[igt-dev] [PATCH i-g-t 1/2] tests/i915/gem_basic: Added test description for test case.
Kamil Konieczny
kamil.konieczny at linux.intel.com
Tue Mar 29 08:19:12 UTC 2022
Hi,
Dnia 2022-03-17 at 11:00:02 +0530, sai.gowtham.ch at intel.com napisał(a):
> From: Ch Sai Gowtham <sai.gowtham.ch at intel.com>
>
> Added test description to all the available subtests.
>
> Cc: Melkaveri Arjun <Arjun.Melkaveri at intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> Signed-off-by: Ch Sai Gowtham <sai.gowtham.ch at intel.com>
> ---
> tests/i915/gem_basic.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/tests/i915/gem_basic.c b/tests/i915/gem_basic.c
> index 13ecce52..17ae190c 100644
> --- a/tests/i915/gem_basic.c
> +++ b/tests/i915/gem_basic.c
> @@ -39,6 +39,8 @@
> #include "drm.h"
> #include "i915/gem_create.h"
>
> +IGT_TEST_DESCRIPTION("Tests basic gem_create and gem_close IOCTLs");
> +
> static void
> test_bad_close(int fd)
> {
> @@ -83,10 +85,15 @@ igt_main
> igt_fixture
> fd = drm_open_driver(DRIVER_INTEL);
>
> + igt_describe("Verify that gem_close fails with bad params.");
> igt_subtest("bad-close")
> test_bad_close(fd);
> +
> + igt_describe("Verify basic functionality of gem_create and gem_close.");
> igt_subtest("create-close")
> test_create_close(fd);
> +
> + igt_describe("Verify that closing drm driver is possible with opened gem object.");
> igt_subtest("create-fd-close")
> test_create_fd_close(fd);
> }
> --
> 2.35.1
>
Looks good to me,
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
--
Kamil
More information about the igt-dev
mailing list