1. 22 Sep, 2015 4 commits
  2. 09 Sep, 2015 7 commits
  3. 02 Sep, 2015 2 commits
  4. 21 Aug, 2015 2 commits
  5. 20 Aug, 2015 4 commits
  6. 18 Aug, 2015 1 commit
  7. 13 Aug, 2015 4 commits
  8. 12 Aug, 2015 1 commit
    • Jordan Justen's avatar
      xz: Use --help when detecting xz presence · 98b9352a
      Jordan Justen authored
      If xz is present, and the piglit command's output is redirected, then
      xz will think its output is redirected. This will cause xz to try to
      read data from stdin to compress.
      Instead we can run xz with --help to cause it to print help
      information if the xz executable is present, and prevent xz from
      trying to compress data from stdin.
      Since we don't want to see 'xz --help' output from piglit, we now need
      to redirect both stdout and stderr to /dev/null.
      This allows us to pipe the output of piglit summary when using the shell
      xz compressor.
      v2 (Dylan):
      - send both stdout and stderr directly to /dev/null
      - Fix xz detection in the xz shell path.
      Signed-off-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
      Signed-off-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
  9. 11 Aug, 2015 1 commit
    • Dylan Baker's avatar
      framework tests: fix binary_check utility bug · d958bc8d
      Dylan Baker authored
      This patch changes binary_check to work when a binary is present, but
      doesn't work for some reason.
      The example here is in the json content tests, where it looks for
      glxinfo, but if X isn't running glxinfo provides no output, which will
      cause a test to fail. This isn't useful, so instead of using the *nix
      command 'which', call the command and allow an expected returncode to be
      passed, if the returncode isn't that returncode, then skip.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
  10. 10 Aug, 2015 1 commit
  11. 05 Aug, 2015 1 commit
    • Dylan Baker's avatar
      framework: when searching a directory ignore files ending in .old · de017626
      Dylan Baker authored
      Currently if piglit updates a result to a new version, then tries to
      load from the same directory the first result will be
      'results.json.old', and piglit will interpret the '.old' as a
      compression extension, and die in a fire.
      With this patch when searching a folder (but not when pointing directly
      at a file) piglit will ignore any files ending in '.old', which will
      correct the problem.
      A unit test is also included.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
  12. 04 Aug, 2015 1 commit
  13. 23 Jul, 2015 4 commits
  14. 21 Jul, 2015 1 commit
  15. 17 Jul, 2015 2 commits
  16. 16 Jul, 2015 2 commits
    • Dylan Baker's avatar
      framework: remove last use of core.checkDir · 992bbcec
      Dylan Baker authored
      With the previous change there is only one user of checkDir, which was
      in need of refactor if it was going to be generally useful.
      So instead, just remove it, the replacement is less code and it's
      obvious what it does.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
    • Dylan Baker's avatar
      framework/programs/run.py: On a new run clear results directory · 472e9721
      Dylan Baker authored
      A current source of confusion right now, is to run piglit, and setting a
      results directory that already contains a partial result in it. If the
      new run is shorter than the run it's overwriting, then when it
      accumulates all of the tests together into a single file at the end of
      the run, these extra tests from the previous run will be included.
      To prevent that, this patch clears the contents of the directory (at an
      implementation level it actually deletes and recreates the directory),
      so that there is a clean working directory to work with.
      Obviously this doesn't affect the resume path.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
  17. 15 Jul, 2015 2 commits