1. 01 May, 2018 1 commit
    • Dylan Baker's avatar
      tests: use meta profiles · 400dcd5c
      Dylan Baker authored
      This is a rather sizeable commit, I'm sorry for that. Basically there
      was no clean way I could come up with to make the change from a single
      python file to multiple xml files.
      
      The reason we want this is to to avoid duplication amongst profiles (and
      very long build times), by allowing a single profile to be included in
      multiple other profiles. This means that the all profile is now composed
      of the "glslparser", "shader", and "opengl" (everything in all that's
      not glslparser, asmparser, or shader tests). Running `piglit run all
      foo` still produces the same results. This also allows us to mix native
      and non-native tests so that traditional targets like quick_cl still
      work.
      Tested-by: Rafael Antognolli's avatarRafael Antognolli <rafael.antognolli@intel.com>
      400dcd5c
  2. 10 Nov, 2016 1 commit
  3. 08 Feb, 2016 1 commit
  4. 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
  5. 12 Sep, 2014 1 commit
  6. 23 Jan, 2014 1 commit
    • Tom Stellard's avatar
      cl: Add quick_cl.py test profile · d1a2b60c
      Tom Stellard authored
      all_cl.py will now run each OpenCV sub-test individually, and quick_cl.py
      will run only the OpenCV parent tests.  Both profiles run the exact same
      tests, but all_cl.py gives finer-grained results and also takes longer
      due to the overhead of running each sub-test individually.
      
      For example:
      
      ./piglit-run.py tests/all_cl.py -t Lut results/lut
      [Wed Jan 15 12:08:05 2014] ::  running :: opencv/Arithm/Lut/Mat/2
      [Wed Jan 15 12:08:06 2014] ::     pass :: opencv/Arithm/Lut/Mat/2
      [Wed Jan 15 12:08:06 2014] ::  running :: opencv/Arithm/Lut/Mat/0
      [Wed Jan 15 12:08:06 2014] ::     pass :: opencv/Arithm/Lut/Mat/0
      [Wed Jan 15 12:08:06 2014] ::  running :: opencv/Arithm/Lut/Mat/1
      [Wed Jan 15 12:08:08 2014] ::     pass :: opencv/Arithm/Lut/Mat/1
      
      ./piglit-run.py tests/quick_cl.py -t Lut results/lut-quick
      [Wed Jan 15 12:08:14 2014] ::  running :: opencv/Arithm/Lut
      [Wed Jan 15 12:08:16 2014] ::     pass :: opencv/Arithm/Lut
      Reviewed-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
      d1a2b60c
  7. 21 Jan, 2014 1 commit
  8. 28 Sep, 2013 2 commits