[Piglit] [PATCH 0/3] Add a new status for framework exceptions

Dylan Baker dylan at pnwbakers.com
Sat Oct 1 00:43:52 UTC 2016


This little series adds a new status used exclusively for cases where there is a
framework exception. This has thankfully become pretty rare, but it's still
better to not conflated a test failure and a problem in the python layer.

Dylan Baker (3):
  framework/status: Add a new exception for framework exceptions
  framework/test: catch Exception rather than a bare except
  framework: On exception set the result to exception.

 framework/backends/junit.py        |  2 ++
 framework/status.py                |  5 ++++-
 framework/test/base.py             | 10 +++++-----
 unittests/framework/test_status.py |  1 +
 4 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.10.0



More information about the Piglit mailing list