framework/dmesg.py: add a filtering mechanism

Only update the test status if at least one of the lines in the dmesg
output matches the given regular expression.

v2: Style changes suggested by Ilia Mirkin and Dylan Baker
    Add a framework test for dmesg filtering

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
tests/igt.py: discard dmesg output that does not match certain keywords

v2: updated regular expression suggested by Daniel Vetter

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
tests/igt.py: check for pass or skip before timeout

Don't wait for the timeout thread if the process has already quit with
pass or skip status.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
arb_seamless_cube_map/three-faces-average: remove hard-coded window/probe coords

Previously, the test would only pass with 150 x 150 window size.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
arb_viewport_array-render_scissor: fix probing for any window size

The float->int conversion can be sketchy for various window sizes.
Simply probe a slightly smaller rect region.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
glsl-1.50/execution/geometry: fix pixel probing for arbitrary window size

Probe a neighborhood of pixels to avoid missing the pixel in question.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
util: change default window size to 160 x 160

To avoid "Got spurious window resize" warnings and SKIP result
on Windows 8.  A while back we had changed the default window
size for Windows 7.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
etc1/etc2: move glViewport call to piglit_display(), use default window size

The initial version of this was suggested by Johney Guo.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
nv_conditional_render/blitframebuffer: remove unused 'red' variable

Trivial.
wrappers: Fix argument issue with new wrapper scripts

The new argument parsing wants the script name parameter
sys.argv[0] stripped off.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78421
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
util: Add include guards in piglit-log.h.

Oracle Solaris Studio does not support "#pragma once".

Fixes build error with Oracle Solaris Studio.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
framework: bump cmake minimum requirement to 2.8.5

Commit dd1d13182bf61f1036c29ef7b4c244d3dae297a1 adds a requirement for a
feature added to cmake 2.8.5. This version of cmake was released in
July of 2011.

The only supported distribution not shipping cmake >= 2.8.5 is EL6,
however, the EPEL repository for EL provides a compatible version of
cmake.

bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78368
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Vinson Lee <vlee@freedesktop.org>
cl-program-tester: Add support for parsing floating-point hex constants
cl: Add convert_long(float) test
piglit-run: Fix default search directory for piglit.conf v2

We need to use PIGLIT_SOURCE_DIR now that run.py is its own module.

v2:
  - Use PIGLIT_SOURCE_DIR instead of os.getcwd()

Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
piglit: Don't override user's definition of the PIGLIT_SOURCE_DIR env variable v2

reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
dmesg_tests.py: Remove stupid timing tests

I never actually meant to push that test in the first place, but I
figured it was there don't fix what ain't broken. But the test is
broken, it fails sporadically and it isn't even that useful.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
integration_tests.py: Add basic tests for external test suite integration

These tests are not at any level meant to be complete or comprehensive,
but rather just a set of basic sanity checks to help reduce breakage of
integrated test suites.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
integration_tests.py: Add igt support

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
integration_tests.py: Add es3conform support

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>