arb_texture_buffer_range: Verify proper texbo range updating

The existing texbo range test dirties a lot of state -- among other
things, it reads back results after exercising each range.

This variant minimizes the state dirtied, and so exposes a bug where
updating the bound range of a TexBo doesn't cause enough state to be
flagged.

With mesa master, this passes with driconf forcing batchbuffer flush
after every draw; fails with normal configuration.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
arb_tessellation_shader: Add test for unsized array with 2 shaders

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
summary: add a csv output option

v2: small style fix (Dylan Baker)

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
cl: Run concurrent on Linux render nodes, or non-Linux

v2: make the flag a module parameter

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
piglit-merge-resuilts.py: Remove unused file.

This script has been broken for a long time, and no one has either fixed
it or reported the breakage, so clearly it is not used anymore.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
framework: Split backend into a separate package

This moves all of the Backend classes into a separate package from the
main framework, and uses it's __init__.py to allow some predefined
objects from all of the packages to be accessed directly through
backends. This API should be sufficient for most applications. It is
possible to directly access the modules in the backends package.

In many of the cases where we need to bypass the backends package API
the code accessing could use refactoring. Some of this refactoring will
be done by this series.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
backends/abstract.py: Remove unreachable code in abstract method

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
backends: Refactor FSyncMixin

This change will be used by the next patch

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
backend_tests.py: Test the junit backend

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
backend.py: split initialize() out of constructor

This allows the initialize method to take different arguments than the
constructor. The decision to merge the initializer into the constructor
was a bad one, and this should have been kept out.
backend/json_.py: Make writes atomic

This patch changes the way that the JSONBackend writes tests by making
them atomic. What this means is that the writes completely succeed or
completely fail. This has a number of advantages. First, it vastly
simplifies the recovery mechanism. Second, it makes resume very easy.
Finally, it allows us to throw away lots of handrolled code and replace
it with json.dump and json.load

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
backend/junit.py: Make writes atomic

This patch similarly changes the junit backend to have atomic writes,
like the json backend.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
framework/backends: Refactor base classes for better code sharing

This removes the FSyncMixin and replaces it with a FileBackend class.
This class provides more shared code between the JSONbackend and the
JunitBackend.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
cl: Add acosh tests

Also added myself to the file authors list

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
cl: Add asinh tests

Also re-organize math imports slightly

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
cl: Add atanh tests

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
cl: Add cbrt tests

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
cl: Add cosh tests

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
cl: Add sinh tests

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
cl: Add tanh tests

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>