[Piglit] [PATCH] egl-khr-debug: Start adding tests for EGL_KHR_debug

Dylan Baker dylan at pnwbakers.com
Thu Sep 8 18:16:04 UTC 2016


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 <ajax at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160908/e533960a/attachment.sig>


More information about the Piglit mailing list