This series adds support for versioning results files. It adds this support by adding a new field to the json 'results_version', and a set of support functions for incrementally updating from an old version to the newest version. Updating versions changes the json so that it is the current version, and then moves the old results out of the way for posterity.
Patches 1-5 refactor existing code for general improvements and to make real meat of this series easier. Patch 6 does some cleanup and simplification that should prevent bugs going forward Patch 7 is the meat of this series, it forces version 1, and adds support for updating versions Patch 8 removes some work-arounds for these bugs that are present in the summary code. Dylan Baker (8): framework: Split code out of framework.core results.py: Replace JSONEncoder subclass with default method results.py: Modernize some things results.py: Cleanup pylint warnings results.py: Simplify TestrunResult.write() framework: consolidate boilerplate in JSNOWriter class framework: Update results to use versioned numbers summary.py: Remove work-arounds for version 0 result bugs framework/core.py | 286 ------------------------ framework/exectest.py | 3 +- framework/programs/run.py | 51 ++--- framework/programs/summary.py | 3 +- framework/results.py | 454 +++++++++++++++++++++++++++++++++++++++ framework/summary.py | 7 +- framework/tests/core_tests.py | 46 +--- framework/tests/dmesg_tests.py | 5 +- framework/tests/results_tests.py | 256 ++++++++++++++++++++++ framework/tests/utils.py | 2 + tests/igt.py | 1 - 11 files changed, 738 insertions(+), 376 deletions(-) create mode 100644 framework/results.py create mode 100644 framework/tests/results_tests.py -- 2.0.0 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
