1. 10 Nov, 2016 2 commits
  2. 08 Feb, 2016 1 commit
  3. 24 Feb, 2015 1 commit
    • Dylan Baker's avatar
      profile.py: Use a Tree structure for Profile.tests · f302ebca
      Dylan Baker authored
      This change converts Profile.tests from a dict to a Tree, which is a new
      class that descends from dict, but automatically adds new branches
      whenever one is requested that doesn't exist.
      
      This solves a couple of problems, first, there is a lot of code in
      all.py to add new dictionaries to the tests tree, and that is annoying
      (In fact this ends up removing about 200 lines of code total). The
      second problem it solves is that some of the search-and-add functions in
      all.py add nodes to the tree, which are then relied on by functions in
      all.py. This is sloppy and annoying, and while it could be remedied by
      adding all of the missing branches to the tree that would result in a
      lot of LOC additions for no reason.
      
      This class will be removed by the end the series.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      f302ebca
  4. 04 Dec, 2014 1 commit
  5. 14 Oct, 2014 1 commit
    • Dylan Baker's avatar
      framework: Move tests derived classes into a package · 3d00e916
      Dylan Baker authored
      This moves all of the classes that derive from Test into a package
      called test. This patch looks very large, but is mostly just moving
      files around and changing imports to account for this.
      
      So why all of this code churn? The big advantage is that through
      __init__.py magic there is one module to be imported, framework.test.
      This module contains all of the public classes, functions, and
      constants, in one place while hiding the rest, but allowing them to be
      accessed explicitly.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      3d00e916
  6. 20 Jan, 2014 1 commit
    • Ilia Mirkin's avatar
      core: fix remove_tests logic · 6864fa7d
      Ilia Mirkin authored
      The sole user is tests/gpu.py, which was passing in a predicate that
      worked (a) as a filter, and (b) expected to receive a test. However the
      implementation operated on the dict-of-dicts. Instead keep track of all
      the filtering functions, and apply the filters when flattening the tests
      tree.
      
      Take this opportunity to pass in a second argument to the filter
      function: the full test path. This should allow future conversion of the
      'del' style of filtering.
      Signed-off-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
      Reviewed-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
      6864fa7d
  7. 15 Jan, 2014 1 commit
  8. 12 Jan, 2014 3 commits
  9. 30 Oct, 2013 1 commit
  10. 27 Jun, 2013 1 commit
  11. 21 Jun, 2013 1 commit
    • Kenneth Graunke (AFK until mid-April)'s avatar
      Add a new test profile: gpu.tests. · 8552c51c
      Often, I make changes to Mesa which only affect tests that actually
      execute on the GPU.  For such changes, there's no real benefit to
      running compiler-only/front-end tests, such as glslparsertest and
      asmparsertest files.  There are a lot of those, so cutting them can save
      quite a bit of time when running Piglit.
      
      Excluding glslparsertests via -x is tricky since a lot of them live way
      down in the spec/... hierarchy.  It's much easier to filter them out by
      checking for the GLSLParserTest class.
      
      Essentially, gpu.tests is quick.tests minus compiler-only tests.  In the
      future, we could probably remove API-only tests (though there are a much
      smaller number of those and they run fairly quickly).
      Signed-off-by: Kenneth Graunke (AFK until mid-April)'s avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: Anuj Phogat's avatarAnuj Phogat <anuj.phogat@gmail.com>
      8552c51c