Patches 1-6: The new EGL_KHR_fence_sync tests use Ian's new subtest mechanism. These patches cleanup the subtest stuff so that EGL tests can use them. Patches 7-9: Add EGL utility funcs to libpiglitutil for the new tests. Patches 10-11: Add more utils for the new tests. Patches 12-13: Finally, add the tests.
I verified this series does not regression Piglit master 4de1a79 on Ivybridge with PIGLIT_PLATFORM=x11_egl. Chad Versace (13): util: Add func streq() util: Refactor parsing subtest args util/gl: Reject unrecongized subtest names util/gl: Rename struct piglit_gl_subtest -> piglit_subtest util/gl: Rename PIGLIT_GL_SUBTEST_END -> PIGLIT_SUBTEST_END util: Move subtest utils to API-independent files util/egl: Add EGLDisplay parameter to piglit_require_egl_extension() util/egl: Add piglit_egl_get_default_display() util: Add func piglit_gettid() util/log: Add logging module util: Use piglit-log in piglit-util.c cmake: Check for pthreads EGL_KHR_fence_sync: Add conformance tests CMakeLists.txt | 18 + tests/all.py | 4 + tests/egl/spec/CMakeLists.txt | 1 + .../spec/egl_khr_fence_sync/CMakeLists.gles2.txt | 9 + tests/egl/spec/egl_khr_fence_sync/CMakeLists.txt | 1 + .../spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 1432 ++++++++++++++++++++ tests/spec/arb_compute_shader/api_errors.c | 2 +- .../intel_external_sampler_only.c | 5 +- .../intel_external_sampler_with_dma_only.c | 5 +- .../intel_unsupported_format.c | 5 +- .../ext_image_dma_buf_import/invalid_attributes.c | 3 +- .../spec/ext_image_dma_buf_import/invalid_hints.c | 3 +- .../ext_image_dma_buf_import/missing_attributes.c | 3 +- .../ext_image_dma_buf_import/ownership_transfer.c | 3 +- tests/spec/ext_image_dma_buf_import/sample_rgb.c | 3 +- tests/util/CMakeLists.txt | 1 + tests/util/piglit-framework-gl.c | 107 +- tests/util/piglit-framework-gl.h | 36 +- tests/util/piglit-log.c | 117 ++ tests/util/piglit-log.h | 67 + tests/util/piglit-util-egl.c | 59 +- tests/util/piglit-util-egl.h | 16 +- tests/util/piglit-util.c | 156 ++- tests/util/piglit-util.h | 57 + 24 files changed, 1952 insertions(+), 161 deletions(-) create mode 100644 tests/egl/spec/egl_khr_fence_sync/CMakeLists.gles2.txt create mode 100644 tests/egl/spec/egl_khr_fence_sync/CMakeLists.txt create mode 100644 tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c create mode 100644 tests/util/piglit-log.c create mode 100644 tests/util/piglit-log.h -- 1.8.5.3 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
