mesa-drm/intel
Eric Anholt 683855f655 intel: Add regression tests for batch decode.
The .batch was generated using the dump-a-batch branch of

git://people.freedesktop.org/~anholt/mesa

using glxgears on gen7 hardware, using INTEL_DEVID_OVERRIDE for
non-gen7 (this means that offsets in the buffers for non-gen7 are 0!).
The .ref was generated by:

./test_decode tests/gen7-3d.batch -dump.

The .sh exists because you can't supply arguments to tests using the
simple automake tests driver.  Something reasonable could be done
using automake's parallel-tests driver (in fact, a previous version of
the patch did that), but I was concerned that:

1) The parallel-tests driver is documented to be unstable -- they may
   change interfaces on us later.
2) The parallel-tests driver hides the output of tests in .log files
   scattered all over the tree, which was ugly and more painful to
   work with.

v2: Actually add the batch files, add a .gitignore for the *-new.txt
    files added after failures, and fix failure mode for undetected
    chipset name.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1)
2012-01-04 14:49:44 -08:00
..
tests intel: Add regression tests for batch decode. 2012-01-04 14:49:44 -08:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
intel_bufmgr.c intel: fix the wrong method check for bo_get_subdata 2011-07-20 10:46:45 -07:00
intel_bufmgr.h intel: Add an interface for setting the output file for decode. 2012-01-04 14:49:44 -08:00
intel_bufmgr_fake.c intel: Shove the fake bufmgr subdata implementation into the fake bufmgr. 2010-11-01 06:54:58 -07:00
intel_bufmgr_gem.c intel: Make intel_chipset handle devid directly. 2011-12-29 16:43:27 -08:00
intel_bufmgr_priv.h intel: Export CONSTANT_BUFFER addressing mode 2010-12-19 13:01:15 +00:00
intel_chipset.h intel: intel: Add IS_GEN[567] macros. 2011-12-29 16:43:29 -08:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel: Add an interface for setting the output file for decode. 2012-01-04 14:49:44 -08:00
libdrm_intel.pc.in intel: Install the header file in the libdrm/ directory. 2010-03-17 12:49:10 -07:00
Makefile.am intel: Add regression tests for batch decode. 2012-01-04 14:49:44 -08:00
mm.c Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
mm.h Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
test_decode.c intel: Add regression tests for batch decode. 2012-01-04 14:49:44 -08:00