[igt-dev] [PATCH i-g-t v2 2/5] tests/api_intel_allocator: Remove duplicated reuse and reserve subtests

Kamil Konieczny kamil.konieczny at linux.intel.com
Tue Dec 6 15:58:45 UTC 2022


On 2022-12-05 at 21:27:05 +0100, Zbigniew Kempczyński wrote:
> For SIMPLE allocator those subtest are duplicated outside loop which
> exercises all defined allocators. Lets remove it and not waste time
> for double run.
> 
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  tests/i915/api_intel_allocator.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/tests/i915/api_intel_allocator.c b/tests/i915/api_intel_allocator.c
> index 098b9e6960..b55587e549 100644
> --- a/tests/i915/api_intel_allocator.c
> +++ b/tests/i915/api_intel_allocator.c
> @@ -769,12 +769,6 @@ igt_main
>  	igt_subtest_f("reserve-simple")
>  		reserve_simple(fd);
>  
> -	igt_subtest_f("reuse")
> -		reuse(fd, INTEL_ALLOCATOR_SIMPLE);
> -
> -	igt_subtest_f("reserve")
> -		reserve(fd, INTEL_ALLOCATOR_SIMPLE);
> -
>  	igt_describe("For simple allocator check does default alignment is "
>  		     "properly handled in open and alloc functions");
>  	igt_subtest_f("default-alignment")
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list