hiz: Use default window size

All the hiz tests requested a 400x400 window. Instead, don't specify
window size and let Piglit choose it. This significantly speeds up their
execution time.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Change INVALID_VALUE to INVALID_OPERATION in ARB_vertex_array_bgra test.

In the OpenGL 3.3 specification, this changed from INVALID_VALUE to
INVALID_OPERATION.

According to Ian Romanick, the GL specification provides the guidance
that INVALID_VALUE should be generated for "Numeric argument out of
range".  Since FALSE is in range for a boolean, INVALID_VALUE is not
appropriate, and the change to INVALID_OPERATION was meant as a
correction.

See:
http://lists.freedesktop.org/archives/mesa-dev/2013-July/042509.html

Most implementations support 3.3, so they likely follow the new code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: Ian Romanick <idr@freedesktop.org>
Cc: Fredrik Höglund <fredrik@kde.org>
Cc: Corey Richardson <corey@octayn.net>
Test that the fs gl_PrimitiveID input works even when there's no gs.

For i965/gen7 hardware, the driver has to go to extra work to make
gl_PrimitiveID work in the case where there is no geometry shader.  So
we need a separate test to make sure that works properly.

Reviewed-by: Eric Anholt <eric@anholt.net>
summary-html: Add Environment to HTML pages

Specifically for glean tests setting certain environment variables are
needed to run a certain subtest in glean. This patch prints that in the
HTML results.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework: use os.path instead of manual path management

Working with paths is hard, and we don't always do it right. Instead of
trying to be perfect, just use python's os.path module to do all of the
hard work for us

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary.py: Treat subtests as groups

This patch causes tests with subtests to be treated as a group, rather
than as a test. This means that the status the test itself stores will
be overwritten by those in the subtest.
core.py: don't write subtests as full entries

This stops subtests from being written as full entries in the json.
Instead, in the summary code the test with subtests is treated as a
group, and the subtests as real tests.