[igt-dev] [PATCH i-g-t][V2] i915/gem_exec_create: Added test description for test case.

Melkaveri, Arjun arjun.melkaveri at intel.com
Thu Sep 24 04:40:06 UTC 2020


On Tue, Jul 14, 2020 at 10:12:34AM +0530, sai.gowtham.ch at intel.com wrote:
> From: sai gowtham <sai.gowtham.ch at intel.com>
> 
> Added test description for test and to all 3 subtests.
> 
> Signed-off-by: sai gowtham <sai.gowtham.ch at intel.com>
> ---
>  tests/i915/gem_exec_create.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/tests/i915/gem_exec_create.c b/tests/i915/gem_exec_create.c
> index ee7d4e5d..15288380 100644
> --- a/tests/i915/gem_exec_create.c
> +++ b/tests/i915/gem_exec_create.c
> @@ -42,6 +42,11 @@
>  #include "i915/gem.h"
>  #include "igt.h"
>  
> +IGT_TEST_DESCRIPTION("\n This test overloads the driver with transient active "
> +		" objects and checks if we don't kill the system under the "
> +		" mempressure. Some of the symptoms this test look for include"
> +		" mysterious hangs.");
> +
>  #define ENGINE_FLAGS  (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
>  
>  static double elapsed(const struct timespec *start, const struct timespec *end)
> @@ -134,11 +139,16 @@ igt_main
>  		igt_fork_hang_detector(device);
>  	}
>  
> +	igt_describe("This subtest is a quick sanitycheck of the above test setup");
>  	igt_subtest("basic")
>  		all(device, 0, 2, 1);
> +
> +	igt_describe("This test does a concurrent execution");
>  	igt_subtest("forked")
>  		all(device, 0, 20, ncpus);
>  
> +	igt_describe("This test does a forced reclaim, behaving like a bad application"
> +			" leaking its bo cache");
>  	igt_subtest("madvise")
>  		all(device, LEAK, 20, 1);
Acked-by: Arjun Melkaveri <arjun.melkaveri at intel.com>
>  
> -- 
> 2.25.0
> 


More information about the igt-dev mailing list