1. 02 Nov, 2020 1 commit
  2. 13 Feb, 2020 1 commit
    • Dylan Baker's avatar
      drop python2 support · 19eb8323
      Dylan Baker authored
      This removes all of the python code for handling python 2.x vs 3.x, now
      only 3.6+ is supported. This also drops all uses of the six module, as
      its no longer needed.
      Python 2.x and <= 3.5 are all EOL, it doesn't make sense to continue to
      support version of python that are at the end of their lives and are
      being removed from operating systems.
      Acked-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
      Part-of: <mesa/piglit!223>
  3. 01 Sep, 2019 1 commit
  4. 25 May, 2019 2 commits
  5. 23 Apr, 2019 3 commits
  6. 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>
  7. 08 Aug, 2018 1 commit
  8. 08 Jun, 2018 8 commits
  9. 22 Dec, 2017 2 commits
  10. 16 Dec, 2017 1 commit
  11. 04 Oct, 2017 3 commits
  12. 31 Jul, 2017 1 commit
  13. 09 Mar, 2017 1 commit
  14. 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>
  15. 24 Aug, 2016 1 commit
  16. 05 Aug, 2016 1 commit
  17. 17 Apr, 2016 1 commit
  18. 14 Apr, 2016 1 commit
  19. 03 Mar, 2016 1 commit
  20. 21 Jan, 2016 1 commit
  21. 08 Jan, 2016 2 commits
  22. 31 Dec, 2015 1 commit
  23. 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>
  24. 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>
  25. 29 Sep, 2015 1 commit
  26. 28 Aug, 2015 1 commit