• Dylan Baker's avatar
    tests/quick_shader.py: Fix test count of quick_shader · c9cfb851
    Dylan Baker authored
    This filter hasn't worked quite right since the XML profile conversion,
    the reason is that the assumption all filters had before the conversion
    was that they would be used once, which is no longer true. They'll be
    run at least twice now, once to get the count of tests, and once to
    run the tests.
    
    With the addition of the reset() method to the filter protocol, and the
    Filter class that calls it, we can set the seed in the random generator
    back to 42 (an arbitrary starting value), before it's run. This ensures
    that the generation of the count and running of the actual tests match.
    Tested-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
    c9cfb851
Name
Last commit
Last update
ci/appveyor Loading commit data...
cmake Loading commit data...
completions/bash Loading commit data...
docker Loading commit data...
examples/glsl_parser_test Loading commit data...
framework Loading commit data...
generated_tests Loading commit data...
licences Loading commit data...
registry Loading commit data...
self-tests Loading commit data...
src Loading commit data...
templates Loading commit data...
tests Loading commit data...
unittests Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
TODO Loading commit data...
appveyor.yml Loading commit data...
piglit Loading commit data...
piglit-print-commands.py Loading commit data...
piglit-resume.py Loading commit data...
piglit-run.py Loading commit data...
piglit-summary-html.py Loading commit data...
piglit-summary.py Loading commit data...
piglit.conf.example Loading commit data...
tox.ini Loading commit data...