[Piglit] [PATCH 3/4] framework: use TimeAttribute for TestResult and TestrunResult

Dylan Baker baker.dylan.c at gmail.com
Thu Oct 8 00:20:13 PDT 2015


This makes use of the time TimeAttribute for handling times in results,
both for tests and for runs.

This change requires bumping the json version, and a large chunk of the
changes in this patch are for that change.

This could be split into two patches, but that would require making two
sequential bumps to the json results version.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---

I really, really tried to split this up to avoid hitting the gmail email
limits, and I can't figure out how to split this up anymore in a
significant way, I could shave off some small bits, but I doubt it would
get me under the limit.

You can see this patch online here:
https://github.com/dcbaker/piglit wip/timestamps


 framework/backends/json.py                   | 23 +++++++++-
 framework/backends/junit.py                  |  6 +--
 framework/programs/run.py                    |  5 +--
 framework/results.py                         | 16 +++----
 framework/summary/common.py                  |  8 ----
 framework/summary/html_.py                   |  7 +--
 framework/test/base.py                       |  4 +-
 framework/tests/json_results_update_tests.py | 65 ++++++++++++++++++++++++++++
 framework/tests/json_tests.py                |  2 +-
 framework/tests/junit_backends_tests.py      | 12 ++---
 framework/tests/results_tests.py             | 19 ++++++--
 framework/tests/summary_common_tests.py      | 13 ------
 templates/test_result.mako                   |  2 +-
 13 files changed, 125 insertions(+), 57 deletions(-)

[truncated because gmail sucks]


More information about the Piglit mailing list