plugin: shell
id: piglit/fbo
requires:
 package.name == 'piglit'
command: piglit_test -t ^spec/EXT_framebuffer_object -n fbo
estimated_duration: 28.000
_description:
 Runs piglit tests for checking support for framebuffer object operations, depth buffer and stencil buffer

plugin: shell
id: piglit/gl-2.1
requires:
 package.name == 'piglit'
command: piglit_test -t spec/'!OpenGL 2.1'/ -n gl-2.1
estimated_duration: 2.500
_description:
 Runs piglit tests for checking OpenGL 2.1 support

plugin: shell
id: piglit/vbo
requires:
 package.name == 'piglit'
command: piglit_test -t spec/ARB_vertex_buffer_object/ -n vbo
estimated_duration: 0.430
_description:
 Runs piglit tests for checking support for vertex buffer object operations

plugin: shell
id: piglit/glsl-fragment-shader
requires:
 package.name == 'piglit'
command: piglit_test -t ^shaders/glsl-arb-fragment -n glsl-fragment-shader
estimated_duration: 2.700
_description:
 Runs piglit tests for checking support for GLSL fragment shader operations

plugin: shell
id: piglit/glsl-vertex-shader
requires:
 package.name == 'piglit'
command: piglit_test -t ^shaders/glsl-clamp-vertex-color -t ^shaders/glsl-max-vertex-attrib -t ^shaders/glsl-novertexdata -n glsl-vertex-shader
estimated_duration: 3.200
_description:
 Runs piglit tests for checking support for GLSL vertex shader operations

plugin: shell
id: piglit/glx-tfp
requires:
 package.name == 'piglit'
command: piglit_test -t glx-tfp -n glx-tfp
estimated_duration: 2.600
_description:
 Runs piglit tests for checking support for texture from pixmap

plugin: shell
id: piglit/stencil_buffer
requires:
 package.name == 'piglit'
command: piglit_test -t glx-visuals-stencil -t readpixels-24_8 -n stencil_buffer
estimated_duration: 30.000
_description:
 Runs piglit_tests for checking support for stencil buffer operations

plugin: shell
id: piglit/summarize_results
requires:
 package.name == 'piglit'
command: [ -e $PLAINBOX_SESSION_SHARE/piglit-results ] && piglit-summary-html.py $PLAINBOX_SESSION_SHARE/piglit-summary/ `find $PLAINBOX_SESSION_SHARE/piglit-results/ -name main` && echo "Successfully summarized piglit results. They are available in $PLAINBOX_SESSION_SHARE/piglit-sumary/"
estimated_duration: 1.380
_description:
 Runs the piglit results summarizing tool

plugin: shell
id: piglit/tarball
requires:
 package.name == 'piglit'
depends: piglit/summarize_results
command: [ -e $PLAINBOX_SESSION_SHARE/piglit-summary ] && tar cfz $PLAINBOX_SESSION_SHARE/piglit-results.tar.gz $PLAINBOX_SESSION_SHARE/piglit-summary/
_description:
 Archives the piglit-summary directory into the piglit-results.tar.gz.

