Quoting Adam Jackson (2016-09-08 10:41:30)
> First test does some basic API error checking, then provokes an error
> against the (implicit) thread object. There is clearly much more to
> cover here, but this at least touches all of the new entrypoints and
> verifies that it errors reasonably when misused.
> 
> Signed-off-by: Adam Jackson <a...@redhat.com>
> ---
>  tests/all.py                                       |   6 +
>  tests/egl/spec/CMakeLists.txt                      |   1 +
>  tests/egl/spec/egl_khr_debug/CMakeLists.no_api.txt |  14 ++
>  tests/egl/spec/egl_khr_debug/CMakeLists.txt        |   1 +
>  tests/egl/spec/egl_khr_debug/common.c              |  44 ++++++
>  tests/egl/spec/egl_khr_debug/egl-khr-debug.h       |  36 +++++
>  tests/egl/spec/egl_khr_debug/thread.c              | 153 
> +++++++++++++++++++++
>  7 files changed, 255 insertions(+)
>  create mode 100644 tests/egl/spec/egl_khr_debug/CMakeLists.no_api.txt
>  create mode 100644 tests/egl/spec/egl_khr_debug/CMakeLists.txt
>  create mode 100644 tests/egl/spec/egl_khr_debug/common.c
>  create mode 100644 tests/egl/spec/egl_khr_debug/egl-khr-debug.h
>  create mode 100644 tests/egl/spec/egl_khr_debug/thread.c
> 
> diff --git a/tests/all.py b/tests/all.py
> index 3961656..5de994f 100644
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -4433,6 +4433,12 @@ with profile.group_manager(
>  
>  with profile.group_manager(
>          PiglitGLTest,
> +        grouptools.join('spec', 'egl_khr_debug'),
> +        exclude_platforms=['glx']) as g:
> +    g(['egl-khr-debug-thread'], 'thread object', run_concurrent=True)

run_concurrent=True is the default value, so no need for it.

Attachment: signature.asc
Description: signature

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to