[Piglit] [PATCH 0/4 v2] Produce result file even if test run is interrupted
chad at chad-versace.us
Tue Jul 26 15:51:49 PDT 2011
This series gurantees that Piglit produces a result file even if the test run
is interrupted, perhaps due to a keyboard interrupt or a system crash, and
repairs the result file if necessary.
Before I commit this, I would like to receive a Tested-by.
As requested by Ian, calling piglit-summary-html.py while a testrun is in
progress will produce a valid summary and not damage the result file.
Chad Versace (4):
framework: Add class JSONWriter
framework: Write each test result to the result file as the test
core: Add method TestrunResult.__checkFileIsNotInOldFormat
framework: Repair result file if result file is incomplete or corrupt
framework/core.py | 235 +++++++++++++++++++++++++++++++++++++++++++++++++----
piglit-run.py | 31 +++----
2 files changed, 232 insertions(+), 34 deletions(-)
More information about the Piglit