[Piglit] [PATCH 1/5] cl: Avoid duplicate subtest names

Jan Vesely jan.vesely at rutgers.edu
Tue Sep 16 14:45:08 PDT 2014


ping

these fix duplicate subtest names in non-generated tests

patches 2 and 3 are ordinary fixes, patch 1 is just renames.

On Wed, 2014-09-03 at 20:51 -0400, Jan Vesely wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>  tests/cl/program/execute/builtin/atomic/atomic_add-local.cl | 4 ++--
>  tests/cl/program/execute/builtin/atomic/atomic_dec-local.cl | 4 ++--
>  tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl | 4 ++--
>  tests/cl/program/execute/builtin/atomic/atomic_sub-local.cl | 4 ++--
>  tests/cl/program/execute/constant-load.cl                   | 4 ++--
>  5 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
> index c155fbb..197b9e9 100644
> --- a/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
> +++ b/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
> @@ -26,7 +26,7 @@ arg_in:  2 uint           4
>  arg_in:  3 uint           5
>  
>  [test]
> -name: threads
> +name: threads int
>  kernel_name: threads_int
>  dimensions: 1
>  global_size: 8 0 0
> @@ -35,7 +35,7 @@ arg_out: 0 buffer int[1] 28
>  arg_in:  1 buffer int[1] NULL
>  
>  [test]
> -name: threads
> +name: threads uint
>  kernel_name: threads_uint
>  dimensions: 1
>  global_size: 8 0 0
> diff --git a/tests/cl/program/execute/builtin/atomic/atomic_dec-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_dec-local.cl
> index aaa9885..900cec4 100644
> --- a/tests/cl/program/execute/builtin/atomic/atomic_dec-local.cl
> +++ b/tests/cl/program/execute/builtin/atomic/atomic_dec-local.cl
> @@ -24,7 +24,7 @@ arg_in:  1 buffer uint[1] NULL
>  arg_in:  2 uint           2
>  
>  [test]
> -name: threads
> +name: threads int
>  kernel_name: threads_int
>  dimensions: 1
>  global_size: 8 0 0
> @@ -33,7 +33,7 @@ arg_out: 0 buffer int[1] 8
>  arg_in:  1 buffer int[1] NULL
>  
>  [test]
> -name: threads
> +name: threads uint
>  kernel_name: threads_uint
>  dimensions: 1
>  global_size: 8 0 0
> diff --git a/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
> index d51b4b7..4e4d0ca 100644
> --- a/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
> +++ b/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
> @@ -24,7 +24,7 @@ arg_in:  1 buffer uint[1] NULL
>  arg_in:  2 uint           2
>  
>  [test]
> -name: threads
> +name: threads int
>  kernel_name: threads_int
>  dimensions: 1
>  global_size: 8 0 0
> @@ -33,7 +33,7 @@ arg_out: 0 buffer int[1] 8
>  arg_in:  1 buffer int[1] NULL
>  
>  [test]
> -name: threads
> +name: threads uint
>  kernel_name: threads_uint
>  dimensions: 1
>  global_size: 8 0 0
> diff --git a/tests/cl/program/execute/builtin/atomic/atomic_sub-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_sub-local.cl
> index 30fab8f..276a27e 100644
> --- a/tests/cl/program/execute/builtin/atomic/atomic_sub-local.cl
> +++ b/tests/cl/program/execute/builtin/atomic/atomic_sub-local.cl
> @@ -26,7 +26,7 @@ arg_in:  2 uint           5
>  arg_in:  3 uint           4
>  
>  [test]
> -name: threads
> +name: threads int
>  kernel_name: threads_int
>  dimensions: 1
>  global_size: 8 0 0
> @@ -35,7 +35,7 @@ arg_out: 0 buffer int[1] 28
>  arg_in:  1 buffer int[1] NULL
>  
>  [test]
> -name: threads
> +name: threads uint
>  kernel_name: threads_uint
>  dimensions: 1
>  global_size: 8 0 0
> diff --git a/tests/cl/program/execute/constant-load.cl b/tests/cl/program/execute/constant-load.cl
> index 68ac8c4..307ba68 100644
> --- a/tests/cl/program/execute/constant-load.cl
> +++ b/tests/cl/program/execute/constant-load.cl
> @@ -3,13 +3,13 @@
>  
>  [test]
>  kernel_name: constant_load_global_store_2
> -name: constant load global write
> +name: constant load global write int2
>  arg_out: 0 buffer int2[1] 1 2
>  arg_in:  1 buffer int2[1] 1 2
>  
>  [test]
>  kernel_name: constant_load_global_store_4
> -name: constant load global write
> +name: constant load global write int4
>  arg_out: 0 buffer int4[1] 1 2 3 4
>  arg_in:  1 buffer int4[1] 1 2 3 4
>  

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140916/af4a9a5c/attachment-0001.sig>


More information about the Piglit mailing list