1. 08 Jun, 2018 4 commits
  2. 22 Dec, 2017 2 commits
  3. 16 Dec, 2017 1 commit
  4. 04 Oct, 2017 3 commits
  5. 31 Jul, 2017 1 commit
  6. 09 Mar, 2017 1 commit
  7. 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
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
  8. 24 Aug, 2016 1 commit
  9. 05 Aug, 2016 1 commit
  10. 17 Apr, 2016 1 commit
  11. 14 Apr, 2016 1 commit
  12. 03 Mar, 2016 1 commit
  13. 21 Jan, 2016 1 commit
  14. 08 Jan, 2016 2 commits
  15. 31 Dec, 2015 1 commit
  16. 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
      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: default avatarDylan Baker <dylanx.c.baker@intel.com>
  17. 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: default avatarDylan Baker <dylanx.c.baker@intel.com>
  18. 29 Sep, 2015 1 commit
  19. 28 Aug, 2015 1 commit
  20. 09 Jul, 2015 1 commit
  21. 01 Jun, 2015 2 commits
  22. 24 Feb, 2015 1 commit
  23. 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: default avatarDylan Baker <dylanx.c.baker@intel.com>
      Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
  24. 27 Jan, 2015 3 commits
  25. 16 Dec, 2014 1 commit
  26. 15 Dec, 2014 1 commit
  27. 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.
       - 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)
  28. 08 Nov, 2014 1 commit
  29. 29 Oct, 2014 2 commits