Bump python version requirement to 2.7.x

Python 2.6.6 was the final feature release of the 2.6 branch, it was
released in August 2010. Python 2.6.9 was the last security release, it
was released in October 2013. There is no support from upstream for 2.6,
either for bugs or security problems, OSX, linux, windows all have 2.7
available to them, as does VMWare in their environment.

Since no one any longer has a hard 2.6 requirement going to 2.7 seems
like a natural choice. It has more features, more modules, and better
3.x compatibility than 2.6 does.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
cl: Add minimal tests for clCreateImage2D and clCreateImage3D

The only tests for devices without image support.
cl: Add minimal test for clCreateSampler

The only test is for devices without image support.
clGetDeviceInfo: Check for minimum value of CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE
core: Initialize ConfigParser with allow_no_value=True

Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
oclconform: Add test class for ocl conformance tests v3

v2:
  - Code cleanups

v3:
  - More cleanups

Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
all_cl: Add ocl conformance tests to test list
programs/run.py add file sync command line option

Currently while running igt tests a kernel panic causes the results json
file to lose all data. This patch adds a command line option (-s,
--sync) that syncs the file descriptor to disk after every test allowing
data to persist through hard crashes.

v2: Call flush() before fsync(), explicitly pass fileno instead of fd
v3: sync write_dict_key added
v4: git log maintenance
v5: - Fix one unit test for JSONWriter, the constructor signature changed
      (Dylan)

Reviewed-by: Dylan Baker <dylanx.c.baker@intel.com>
arb_explicit_attrib_location: Remove unnecessary dependence on GL_ARB_blend_func_extended

Reviewed-by: Brian Paul <brianp@vmware.com>
piglit: Fix tegra build break.

egl_khr_fence_sync.c:1106: undefined reference to `eglCreateSyncKHR'
egl_khr_fence_sync.c:1113: undefined reference to `eglClientWaitSyncKHR'
egl_khr_fence_sync.c:1122: undefined reference to `eglDestroySyncKHR'
egl_khr_fence_sync.c:1066: undefined reference to `eglCreateSyncKHR'

BUG=chromium:389430
TEST=emerge-daisy/link/nyan_big piglt
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
arb_texture_view: verify that 2darray can be sampled as cube

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
arb_texture_view: verify that 2d array can be sampled as cube array

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
spec/ARB_copy_image: Add a simple ARB_copy_image test

This is a simple sanity test for the ARB_copy_image extension.  This tests
tests the different combinations of textures and renderbuffers for intputs
and outputs to glCopyTexSubImage.

v2: Incorperated comments from Brian Paul
v3: Also copy from the texture back onto itself to test yet another path

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
spec/ARB_copy_image: Add a test for testing different texture target combinations

This tests all of the possible different combinations of texture targets
such as GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_1D_ARRAY, etc.  The
only targets not tested are GL_TEXTURE_2D_MULTISAMPLE and
GL_TEXTURE_2D_MULTISAMPLE_ARRAY but those are special.

v2: Incorperated comments from Brian Paul and Dylan Baker

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
util: Add a function for uploading multisample textures

One of the greatest difficulties in properly testing multisample textures
is actually generating and working with reference images.  This adds a nice
little util function that allows you to upload a multisampled image as if
you were using glTexImage3D.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
spec/ARB_copy_image: Test different combinations of texture formats

This tests glCopyTexSubImage on all of the allowed combinations of internal
texture formats.  This also tests multisample textures.

v2: Incorperated comments from Brian Paul and Dylan Baker
v3: Added multisample support and more formats
v4: Properly handle subtests that skip or warn instead of just pass/fail
v5: Test copying between different portions of the same image

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
spec/ARB_copy_image: Add an api_errors test
arb_texture_view: Fix bogus probe rects

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
arb_gpu_shader_fp64: test vector insert and extract operations

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
arb_gpu_shader_fp64: test constructor conversions with matrix

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>