[Piglit] [PATCH 0/4 v2] Produce result file even if test run is interrupted

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

v2:
    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
    completes
  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(-)

-- 
1.7.6



More information about the Piglit mailing list