This little series fixes three bugs in the summary code:

The first one fixes the argument help message being returned when an unrelated
exception is raised.

The second fixes summarizing JSON results, which were broken due to incorrect
deserialization.

The third fixes summarizing JUnit results, which were broken due to incorrect
deserialization, this is a separate bug from the one that affected the JSON
loader.

This is available at my github:
https://github.com/dcbaker/piglit wip/fix-summary

Mark and Michel,
I'd appreciate if you could test this and make sure it fixes your respective
problems.

Dylan Baker (3):
  piglit: Only catch parsed.func AttributeError
  framework: Properly load JSON into internal representation
  framework: fix loading JUnit results

 framework/backends/junit.py                |  6 ++-
 framework/programs/run.py                  |  2 +-
 framework/results.py                       | 23 +++++++--
 piglit                                     |  4 +-
 unittests/framework/backends/shared.py     |  4 ++
 unittests/framework/backends/test_json.py  |  3 +-
 unittests/framework/backends/test_junit.py |  6 +--
 unittests/framework/test_results.py        | 77 ++++++++++--------------------
 8 files changed, 61 insertions(+), 64 deletions(-)

-- 
2.10.1

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to