[Piglit] Fix subtests

Dylan Baker baker.dylan.c at gmail.com
Mon Nov 11 14:58:01 PST 2013


forgot to mention this is available from my github:
https://github.com/crymson/piglit.git simplify_subtests


On Tuesday, November 05, 2013 10:34:49 AM Dylan Baker wrote:
> This series attempts to fix the way piglit handles subtests. In
> particular there are two problems with subtests:
>  1. A subtest failure does not cause the test it is a part of to be a
>     failure
>  2. Each subtest writes an additional copy of itself in the json
> 
> Patch 1 attempts to correct point 1
> The primary problem with tests not failing when their subtests fail is
> that it is inconsistent with the rest of piglit; a group's status is
> that of it's lowest test or subgroup.
> 
> Patch 2 corrects point 2
> Since tests with subtests are now groups, there is no need to write an
> entry for each subtests. This reduces the size the json generated by
> ~80% (That's 1/5 of the original size). This is significant not just for
> the space savings, but because writing files is expensive.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131111/34777f65/attachment.pgp>


More information about the Piglit mailing list