fp-abs-01: use default window size

v2: use max of default window size, and required tests size.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
tex-skipped-unit: use default window size

Reviewed-by: José Fonseca <jfonseca@vmware.com>
pbo-readpixels-small: use default window size

Reviewed-by: José Fonseca <jfonseca@vmware.com>
depth-tex-modes-rg: fix initial window size

Use the larger of the default window size and the size required by
the test parameters.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
remove glean/tbufferobject test

Everything it tests is already covered by other piglit tests.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
ext_packed_depth_stencil: new errors test

A replacement for part of a glean test.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
ext_packed_depth_stencil: new glRead/DrawPixels test

To replace part of a glean test.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
remove glean depthstencil test

Replaced by piglit tests in previous two commits.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
util: Ensure that stdout and stderr are flushed on exceptions.

Also return the exception code as the program return code, which matches
the normal behaviour of uncaught exceptions.

Currently I see several tests failing on Windows, but with no clue
(in stdout, stderr, or exit code) as to why.  This should help.

Trivial.  Only affects Windows.

Reviewed-by: Brian Paul <brianp@vmware.com>
framework/summary/junit: Report crashes as junit errors.

Jenkins doesn't make a huge distinction between failures and errors though.

Reviewed-by: Brian Paul <brianp@vmware.com>
framework: Recognise more crashes return codes.

From what I gathered, both on Linux and Windows, uncaught
exceptions/signals lead to a negative return code.

Reviewed-by: Brian Paul <brianp@vmware.com>
util/framework/glut: Auto-detect glutInitErrorFunc support.

Should fix https://bugs.freedesktop.org/show_bug.cgi?id=79745

Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
templates: add the totals to testrun_info

Add the totals to the testrun_info template, including the total number
of tests evaluated.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
ARB_shader_bit_encoding: add a test which exercises an nvidia bug

With nvidia's 325.15 driver (at least) the GLSL compiler generates invalid
code.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
exectest.py: Return early if _run_command() hits the except block

If the except block is hit in Test._run_command(), the test has a status
of skip, but the test continues to run anyway. This is not consistent
with the way Test.check_for_skip_scenario() works (which returns early
if true). The effect of this inconsistency is that tests with a known
value still call interpret_result(). This wastes time in python
processing.

This patch causes a failure in Test._run_command() to set
self.result['result'] to 'skip' (it should be 'fail' before this). When
Test._run_command() is called by Test.run(), if self.result['result'] is
'skip' then run() will return early.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
cmake: Build a few more tests with MSVC.

It seems at least that newer MSVC versions can compile these without
problems.

Also add comment explaining why some tests still can't be built for
future reference.

Trivial.  Only affects MSVC builds.
glsl-1.30: test unsigned vs signed in switch statement

v2: add spec citations (Matt)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Hook up two new EXT_packed_depth_stencil tests added recently

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
framework/summary/html: Prevent `\` in URLs.

It's fine for URLs to have `\` directory separators when viewing the
HTML files on Windows.  But if one moves the HTML report to a Linux
machine or puts it on a web-server and accesses it from a Linux machine
then links with `\` in them will become dead.

This change prevents that by always replacing `\` with `/` in URLs.

(There might be an easier way to achieve this than to have so many
instances of `foo.replace('\\', '/')`.  For example, it might be easier
to do this replacement when loading the results.  On the other hand,
there are several places that use os.path, so it might not solve the
issue completely neither.)

v2: Avoid wrong backward/forward terminology in comment, as pointed out
by Brian.
Test using glTexSubImage2D with packed depth-stencil textures

This adds a test for updating a sub-region of a texture created with
the GL_EXT_packed_depth_stencil extension.

Currently this triggers a bug on the i965 driver for which there is a
patch on the Mesa list here:

http://lists.freedesktop.org/archives/mesa-dev/2014-June/060783.html

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>