[Intel-gfx] [PATCH 09/18] tests/gem_mmap_gtt: mark basic access and copy tests as basic

Daniel Vetter daniel at ffwll.ch
Fri Aug 14 05:35:54 PDT 2015


On Thu, Aug 13, 2015 at 01:31:32PM -0700, Jesse Barnes wrote:
> These ones should always pass and are fairly quick.
> 
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
> ---
>  tests/gem_mmap_gtt.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/gem_mmap_gtt.c b/tests/gem_mmap_gtt.c
> index a95b98a..f964b39 100644
> --- a/tests/gem_mmap_gtt.c
> +++ b/tests/gem_mmap_gtt.c
> @@ -525,7 +525,7 @@ igt_main
>  	igt_fixture
>  		fd = drm_open_any();
>  
> -	igt_subtest("access")
> +	igt_subtest("basic")
>  		test_access(fd);
>  	igt_subtest("short")
>  		test_short(fd);
> @@ -556,11 +556,11 @@ igt_main
>  	igt_subtest("write-cpu-read-gtt")
>  		test_write_cpu_read_gtt(fd);
>  
> -	igt_subtest("small-bo")
> +	igt_subtest("basic-small-bo")
>  		test_huge_bo(fd, -1, I915_TILING_NONE);
> -	igt_subtest("small-bo-tiledX")
> +	igt_subtest("basic-small-bo-tiledX")
>  		test_huge_bo(fd, -1, I915_TILING_X);
> -	igt_subtest("small-bo-tiledY")
> +	igt_subtest("basic-small-bo-tiledY")
>  		test_huge_bo(fd, -1, I915_TILING_Y);

All the testcases up to this one are super-basic sanity checks and
coherency checks. They should also run really fast with the exception of
fault-concurrent. I'd mark them all as basic, except fault-concurrent
since that's more a stress-test.
-Daniel

>  
>  	igt_subtest("big-bo")
> -- 
> 1.9.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list