[Piglit] [PATCH 0/4] Produce result file even if testrun is interrupted

Ian Romanick idr at freedesktop.org
Tue Jul 19 15:45:12 PDT 2011

Hash: SHA1

On 07/19/2011 12:36 PM, Chad Versace wrote:
> 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.
> The series lives on my json branch:
> 	git://git.freedesktop.org/~chadversary/piglit.git
> 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 test run is interrupted
>  framework/core.py |  234 +++++++++++++++++++++++++++++++++++++++++++++++++----
>  piglit-run.py     |   31 +++----
>  2 files changed, 230 insertions(+), 35 deletions(-)

I'll give this a go in a bit.  I'm already in the middle of some test
runs. :)

One thing I like about this is that it provides some ground work for
"resume" test runs.  It the system crashes part way through a run, we'd
like to skip the offending test and keep going.
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/


More information about the Piglit mailing list