1. 09 Jul, 2015 6 commits
    • Dylan Baker's avatar
      framework: add support for bz2 compression. · 2590bb82
      Dylan Baker authored
      This adds bzip2 compression support to piglit. This produces a file that
      is ~5% the size of the original uncompressed json file.
      
      v4: - add more tests
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      2590bb82
    • Dylan Baker's avatar
      framework: add support for gzip compressionn · 54bf9304
      Dylan Baker authored
      This adds support to compress results with gzip compression. This
      reduces the size of json results significantly (from 21M to 1.6M when
      running the quick profile (which is about 7% of the uncompressed size).
      
      v4: - add additional tests
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      54bf9304
    • Dylan Baker's avatar
      framework: Add ability to set a compression method on file backends · 7be0c99c
      Dylan Baker authored
      This creates a framework for compressing results as part of the
      FileBackend class. This allows for the simple addition of compression
      formats (gz is easily possible in python2, xz in python3), but does not
      actually implement any compression. zip and bz2 compression are also
      possible, although they'll require a little more code.
      
      This patch implements a framework, and tests for that framework.
      
      The goal is that other compression methods can easily be added to piglit
      simply by setting a few values in framework/backends/compression, and
      then everything will just work.
      
      This will allow junit results that are compressed to be read, but
      doesn't add support to junit for compressing results, since junit is
      mainly intended for consumption by jenkins, which doesn't understand
      compression.
      
      v2: - replace tests decorator set_compression with use of
            utils.set_piglit_conf. This is better because it uses a generic
            tools, and because set_compression is somewhat misleading of a
            name.
      v3: - backport changes from my attempt to port this to python3. There
            are significant differences between python2 and python3 compression
            handling because of the bytes/str/unicode differences between the
            two versions. There are also code cleanups from that work here
          - Make a better effort to protect the unit tests from the
            environment around them. The goal is that the tests control the
            compression options 100%, with no chance of piglit.conf or
            environment variables affecting the tests.
          - reduce code duplication in unit tests
          - add additional unit tests as made possible by refactoring changes
      v4: - add additional unit tests
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      7be0c99c
    • Eric Anholt's avatar
      xts: Add a set of rendercheck tests to run. · 785c0cc1
      Eric Anholt authored
      We don't do a full run, because that takes approximately an eternity.
      However, running a small subset can be useful to catch certain bugs in
      Render implementations.  This passes on an fb implementation in <4
      seconds on my laptop.
      
      v2: Style fixes from Dylan (one variant on his suggestions, to avoid
          grouptools.from_path).
      
      Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com> (v1)
      Reviewed-by: Dave Airlie <airlied@redhat.com> (v1)
      785c0cc1
    • Eric Anholt's avatar
      xts: Add a profile for just the rendering tests. · 02bd37fd
      Eric Anholt authored
      Many X developers work on rendering code, and don't really care about
      the rest of xts.  This is our equivalent of GL's quick.py.
      
      v2: Style fixes from Dylan.
      
      Reviewed-by: Dave Airlie <airlied@redhat.com> (v1)
      Reviewed-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
      02bd37fd
    • Dave Airlie's avatar
      arb_gpu_shader_fp64: add some tests for indirect double accesses · bb3ff5f6
      Dave Airlie authored
      while developing for llvmpipe, I realised we weren't testing
      indirect access to double arrays, so I wrote some tests.
      
      double array temp src
      double array temp dst
      double array constant src.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      bb3ff5f6
  2. 08 Jul, 2015 17 commits
  3. 07 Jul, 2015 7 commits
  4. 06 Jul, 2015 2 commits
  5. 04 Jul, 2015 2 commits
  6. 02 Jul, 2015 1 commit
  7. 30 Jun, 2015 1 commit
  8. 29 Jun, 2015 4 commits