1. 23 Apr, 2019 2 commits
  2. 07 Nov, 2018 1 commit
    • Neil Roberts's avatar
      framework: Add a vulkan tests profile · 221d9246
      Neil Roberts authored
      This searches for files named *.vk_shader_test in the tests/vulkan
      directory and runs them with VkRunner. VkRunner is executed as an
      external dependency. It is found either with the vkrunner:bin config
      option, by setting the PIGLIT_VKRUNNER_BINARY environment variable, or
      just in the search path.
      v2: Move VkShaderTest to piglit_test.py and rename to VkRunnerTest.
          Add future imports. Remove unused import.
      v3: Support the PIGLIT_VKRUNNER_BINARY variable to specify the
          location of VkRunner.
      v4: Add documentation to the README. Add an option in piglit.conf to
          set the binary location. (Suggested by Samuel Iglesias)
      Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
      Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
  3. 08 Aug, 2018 1 commit
  4. 08 Jun, 2018 8 commits
  5. 22 Dec, 2017 2 commits
  6. 16 Dec, 2017 1 commit
  7. 04 Oct, 2017 3 commits
  8. 31 Jul, 2017 1 commit
  9. 09 Mar, 2017 1 commit
  10. 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>
  11. 24 Aug, 2016 1 commit
  12. 05 Aug, 2016 1 commit
  13. 17 Apr, 2016 1 commit
  14. 14 Apr, 2016 1 commit
  15. 03 Mar, 2016 1 commit
  16. 21 Jan, 2016 1 commit
  17. 08 Jan, 2016 2 commits
  18. 31 Dec, 2015 1 commit
  19. 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>
  20. 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>
  21. 29 Sep, 2015 1 commit
  22. 28 Aug, 2015 1 commit
  23. 09 Jul, 2015 1 commit
  24. 01 Jun, 2015 2 commits
  25. 24 Feb, 2015 1 commit
  26. 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>
  27. 27 Jan, 2015 1 commit