[Piglit] [PATCH] README: add a note about the test counts

Daniel Vetter daniel at ffwll.ch
Tue Aug 25 05:32:33 PDT 2015


On Tue, Aug 18, 2015 at 01:55:05PM -0700, Dylan Baker wrote:
> It's worth noting that piglit run and piglit summary count tests
> differently.
> 
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  README | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/README b/README
> index 773a350..8381ff4 100644
> --- a/README
> +++ b/README
> @@ -274,6 +274,15 @@ The summary shows the 'status' of a test:
>  There are also dmesg-* statuses. These have the same meaning as above, but are
>  triggered by dmesg related messages.
>  
> +3.1 Note
> +--------
> +
> +The way 'piglit run' and 'piglit summary' count tests are different, 'piglit
> +run' counts the number of Test derived instance in the profile(s) selected,
> +while 'piglit summary' counts the number of subtests a result contains, or it's
> +result if there are no subtests. This means that the number shown by 'piglit
> +run' and the total as calculated by 'piglit summary' may not match.

Isn't it piglit run <= piglit summary and never a smaller number in piglit
summary than in piglit run? Might be good to clarify that, otherwise lgtm.
-Daniel

> +
>  
>  4. Available test sets
>  ----------------------
> -- 
> 2.5.0
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Piglit mailing list