lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250131084129.2919-1-jose.exposito89@gmail.com>
Date: Fri, 31 Jan 2025 09:41:27 +0100
From: José Expósito <jose.exposito89@...il.com>
To: louis.chauvet@...tlin.com
Cc: airlied@...il.com,
	arthurgrillo@...eup.net,
	corbet@....net,
	dri-devel@...ts.freedesktop.org,
	hamohammed.sa@...il.com,
	jeremie.dautheribes@...tlin.com,
	linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	maarten.lankhorst@...ux.intel.com,
	mairacanal@...eup.net,
	marcheu@...gle.com,
	melissa.srw@...il.com,
	miquel.raynal@...tlin.com,
	mripard@...nel.org,
	nicolejadeyee@...gle.com,
	pekka.paalanen@...oniitty.fi,
	rdunlap@...radead.org,
	rodrigosiqueiramelo@...il.com,
	seanpaul@...gle.com,
	simona.vetter@...ll.ch,
	simona@...ll.ch,
	thomas.petazzoni@...tlin.com,
	tzimmermann@...e.de,
	José Expósito <jose.exposito89@...il.com>
Subject: [PATCH v16 6/7] drm/vkms: Add how to run the Kunit tests

> From: Arthur Grillo <arthurgrillo@...eup.net>
> 
> Now that we have KUnit tests, add instructions on how to run them.
> 
> Signed-off-by: Arthur Grillo <arthurgrillo@...eup.net>
> Signed-off-by: Louis Chauvet <louis.chauvet@...tlin.com>

Oh nice, I missed this in [1].

Reviewed-by: José Expósito <jose.exposito89@...il.com>

[1] https://patchwork.kernel.org/project/dri-devel/patch/20250129110059.12199-3-jose.exposito89@gmail.com/

> ---
>  Documentation/gpu/vkms.rst | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst
> index 13b866c3617cd44043406252d3caa912c931772f..5ef5ef2e6a210382a070eaf3552bbce75b04ff0c 100644
> --- a/Documentation/gpu/vkms.rst
> +++ b/Documentation/gpu/vkms.rst
> @@ -89,6 +89,17 @@ You can also run subtests if you do not want to run the entire test::
>    sudo ./build/tests/kms_flip --run-subtest basic-plain-flip --device "sys:/sys/devices/platform/vkms"
>    sudo IGT_DEVICE="sys:/sys/devices/platform/vkms" ./build/tests/kms_flip --run-subtest basic-plain-flip
>  
> +Testing With KUnit
> +==================
> +
> +KUnit (Kernel unit testing framework) provides a common framework for unit tests
> +within the Linux kernel.
> +More information in ../dev-tools/kunit/index.rst .
> +
> +To run the VKMS KUnit tests::
> +
> +  tools/testing/kunit/kunit.py run --kunitconfig=drivers/gpu/drm/vkms/tests
> +
>  TODO
>  ====
>  
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ