[Piglit] [PATCH 0/3] Fix summary breakage

Mark Janes mark.a.janes at intel.com
Wed Oct 26 04:51:15 UTC 2016


Dylan Baker <dylan at pnwbakers.com> writes:

> 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.

Tested-by: Mark Janes <mark.a.janes at intel.com>

> 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


More information about the Piglit mailing list