util: Fix the variable for linking against waffle.

Fixes the build when waffle is located in a non-system directory.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
GL_ARB_texture_compression/invalid_formats: Print decoded enum strings.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
GL_ARB_fragment_program: Add some shader_runner texturing tests.
fbo-deriv: require ARB_fbo
fbo-fragcoord: require ARB_fbo
fbo-fragcoord: require EXT_fbo instead of ARB_fbo
fbo-integer: require ARB_fbo

This test could be converted not to use EXT_gpu_shader4.
fbo-scissor-blit: require ARB_fbo

The test doesn't use anything else.
all.tests: move all tests from the fbo group into spec

Reviewed-by: Eric Anholt <eric@anholt.net>
all.tests: move all tests from the vpfpgeneric group into spec

Reviewed-by: Eric Anholt <eric@anholt.net>
all.tests: move more VP and FP tests into spec

Reviewed-by: Eric Anholt <eric@anholt.net>
piglit-run.py: add -p|--platform switch to select the piglit platform

This can be useful with gbm when running piglit-run.py under sudo.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
exectest.py: move test launch code out to get_command_result routine

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
exectest.py: add path to mark a test as always skipped

check_for_skip_scenario allows a test to be marked as 'always skip'

Currently it doesn't mark any test for skipping.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
exectest.py: set python PIGLIT_PLATFORM from environment variable

If the PIGLIT_PLATFORM environment variable is set, then read its value
into the python PIGLIT_PLATFORM global variable. If it is not set, then
PIGLIT_PLATFORM is set to an empty string.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
gbm: when using gbm, skip running glean tests

glean can be modified to use waffle, and thus support gbm.
But in order to retain the multiple visuals testing for X,
the waffle API will need to be updated. Therefore, for now
we'll just skip glean with gbm.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
gbm: when using gbm, skip running glx tests

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
waffle: require waffle >= 1.1

This is to ensure gbm support is preset in waffle

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
piglit framework: add gbm support

Use gbm for testing if the PIGLIT_PLATFORM environment variable
is set to gbm.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
cmake: Add a PIGLIT_BUILD_GL_TESTS option

The GL tests were compiled unconditionally.
This breaks on systems that dont't have a GL library.

Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>