[igt-dev] [PATCH i-g-t 1/2] i915/i915_module_load: Add descriptions for test

Kamil Konieczny kamil.konieczny at linux.intel.com
Tue Mar 29 09:33:43 UTC 2022


Hi Priyanka,

one small nit, see below.

Dnia 2022-03-21 at 19:51:54 +0530, priyanka.dandamudi at intel.com napisał(a):
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> 
> Add test description for subtests.
> 
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
> Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
>  tests/i915/i915_module_load.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/i915/i915_module_load.c b/tests/i915/i915_module_load.c
> index a86dd86c..a1b8604f 100644
> --- a/tests/i915/i915_module_load.c
> +++ b/tests/i915/i915_module_load.c
> @@ -37,6 +37,8 @@
>  #include "igt_sysfs.h"
>  #include "igt_core.h"
>  
> +IGT_TEST_DESCRIPTION("Tests the i915 module loading.");
> +
>  static void store_all(int i915)
>  {
>  	const unsigned int gen = intel_gen(intel_get_drm_devid(i915));
> @@ -236,6 +238,7 @@ hda_dynamic_debug(bool enable)
>  
>  igt_main
>  {
> +	igt_describe("Verify the basic functionality of i915 driver after it's reloaded.");
>  	igt_subtest("reload") {
>  		int load_error;
>  
> @@ -252,6 +255,7 @@ igt_main
>  		/* only default modparams, can leave module loaded */
>  	}
>  
> +	igt_describe("Verify that i915 driver can be successfully loaded with disabled display.");
>  	igt_subtest("reload-no-display") {
>  		igt_i915_driver_unload();
>  
> @@ -260,6 +264,8 @@ igt_main
>  		igt_i915_driver_unload();
>  	}
>  
> +	igt_describe("Verify that i915 driver can be successfully reloaded atleast once"

s/atleast/at least/

With that fixed you can add my r-b.

Regards,
Kamil
> +		     " with fault injection.");
>  	igt_subtest("reload-with-fault-injection") {
>  		const char *param;
>  		int i = 0;
> -- 
> 2.25.1
> 



More information about the igt-dev mailing list