Here's a case of we pass all the unit tests, but we missed testing some
very important corners. The basic problem is that if piglit.conf is
updated and reloaded, the compression mode will not reflect that.
Dylan Baker (3):
compressed_backend_tests.py: add test to demonstrate bug in
compression
compression.py: fix compression to be updated when piglit.conf is
reloaded
framework/tests: reduce code duplication between test modules
framework/backends/abstract.py | 7 ++--
framework/backends/compression.py | 60 ++++++++++++++++-----------
framework/tests/compressed_backend_tests.py | 62 +++++++++++-----------------
framework/tests/json_backend_tests.py | 14 +------
framework/tests/json_results_update_tests.py | 13 +-----
framework/tests/json_tests.py | 12 +-----
framework/tests/junit_backends_tests.py | 13 +-----
framework/tests/utils.py | 27 +++++++++++-
8 files changed, 98 insertions(+), 110 deletions(-)
--
2.4.5
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit