1. 22 Dec, 2017 2 commits
  2. 16 Dec, 2017 1 commit
  3. 04 Oct, 2017 3 commits
  4. 31 Jul, 2017 1 commit
  5. 09 Mar, 2017 1 commit
  6. 09 Sep, 2016 1 commit
    • Dylan Baker's avatar
      framework: Add support for jsonstreams · d0f6d81a
      Dylan Baker authored
      This commit adds support in the json backend for using an external
      library that I wrote called jsonstreams. It's a pretty self-explanatory
      library, and for piglit has several advantages. First, I've measured
      a consistent 10-15 second speed up for running the quick profile.
      Second, it *vastly* reduces the amount of memory piglit needs to write
      the final JSON document out.
      
      This is not implemented as a separate backend because the way that
      piglit's backend are implemented only one backend can handle a specific
      file extension. While this can be worked around by setting the
      extension to something like '.junit.xml' that doesn't really make sense
      here, since they are writing the same format, just using different
      means.
      Signed-off-by: 's avatarDylan Baker <dylanx.c.baker@intel.com>
      d0f6d81a
  7. 24 Aug, 2016 1 commit
  8. 05 Aug, 2016 1 commit
  9. 17 Apr, 2016 1 commit
  10. 14 Apr, 2016 1 commit
  11. 03 Mar, 2016 1 commit
  12. 21 Jan, 2016 1 commit
  13. 08 Jan, 2016 2 commits
  14. 31 Dec, 2015 1 commit
  15. 30 Oct, 2015 1 commit
    • Dylan Baker's avatar
      framework/tests/oglconform_tests.py: Add tests for tests/oglconform.py · cffbe44c
      Dylan Baker authored
      This adds a pretty extensive set of tests for oglconform.py, with the
      goal of making further cleanups and refactors easier and not introducing
      regressions.
      
      This adds a dependency of mock for the unittests. No production code
      needs this dependency, so this wont affect most (any?) piglit users.
      Mock allows for better testing, in fact, it allows oglconform to be
      tested even when it's not installed.
      Signed-off-by: 's avatarDylan Baker <dylanx.c.baker@intel.com>
      cffbe44c
  16. 09 Oct, 2015 1 commit
    • Dylan Baker's avatar
      framework: add tox testing support · 53638cf2
      Dylan Baker authored
      tox is a python test manager that runs the tests in isolated
      environments with their own copies of dependent libraries, and can be
      used to test against multiple versions of python. This allows us to
      easily test the framework with and without the acceleration modules it
      can optionally use (simplejson and lxml), it will also allow us to test
      against multiple versions of python 3.x (which we support for the
      generators, and presumably will support in the future)
      
      This uses the coverage module, and uses nose's cover-tests option.
      Unfortunately nose assumes that anything /[Tt]est/ is a test, and hides
      the tests for the test package. This might be resolvable by modifying
      the regex, but it isn't something straightforward to fix. Using
      --cover-tests will get us the test package, but it also gets us the
      tests package.
      Signed-off-by: 's avatarDylan Baker <dylanx.c.baker@intel.com>
      53638cf2
  17. 29 Sep, 2015 1 commit
  18. 28 Aug, 2015 1 commit
  19. 09 Jul, 2015 1 commit
  20. 01 Jun, 2015 2 commits
  21. 24 Feb, 2015 1 commit
  22. 23 Feb, 2015 1 commit
    • Dylan Baker's avatar
      Add dependency on Python six · 3780c734
      Dylan Baker authored
      Six is a module that provides a clean, standardized interface for
      handling python2 and python3 from the same code base. This adds a
      requirement on six as a build-time dependency, the plan is to use it
      only for python generators (those called during build time)
      
      While it certainly is possible to reimplement much of what six does
      scratch and not add another python dependency, I think it's better to
      just use six. For one thing a large number of python modules already
      depend on six, so the chances are good that most people already have it
      installed. Second, it's the de facto standard for supporting complex
      code bases in 2 and 3, so it's familiar and many of the corner cases
      have already been addressed.
      
      This adds the necessary cmake boilerplate to ensure that six is
      available. At this time I don't know of a specific version being
      required, but I am currently using 1.9.0
      
      v2: - update README with six dependency (Jordan)
      Signed-off-by: 's avatarDylan Baker <dylanx.c.baker@intel.com>
      Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
      3780c734
  23. 27 Jan, 2015 3 commits
  24. 16 Dec, 2014 1 commit
  25. 15 Dec, 2014 1 commit
  26. 14 Dec, 2014 1 commit
    • Emil Velikov's avatar
      utils: add initial WAFFLE_WGL support · 18caea37
      Emil Velikov authored
      This will allow us to use waffle with its upcoming WGL support for
      Windows. With that done, the final step to removing glut is to convert
      piglit to use waffle for MacOS.
      
      Current implementation does not have input handling/event loop, and as
      such one needs to pass "-auto" when running individual tests, otherwise
      the test will abort after being displayed for 8 seconds.
      
      Waffle 1.5.0 is the first version that has WGL support.
      
      TODO:
       - Add input handling (event_loop).
      
      v2: Updated the instructions in the README.
      v3: Update against upstream Waffle (no API breakage)
      v4: s/Sleep/fprintf()+getchar()/ in the event_loop. Suggested by Jose.
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
      18caea37
  27. 08 Nov, 2014 1 commit
  28. 29 Oct, 2014 6 commits