[Piglit] [PATCH] framework: there are 0 completed tests at the beginning
Dylan Baker
baker.dylan.c at gmail.com
Sat Feb 15 01:46:32 PST 2014
On Saturday, February 15, 2014 02:33:38 AM Ilia Mirkin wrote:
> This fixes a minor annoyance, that the test id displayed was lower than
> the completed count in single-threaded runs.
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
> framework/log.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/log.py b/framework/log.py
> index ba045da..8ae7541 100644
> --- a/framework/log.py
> +++ b/framework/log.py
> @@ -33,7 +33,7 @@ class Log(object):
> """
> def __init__(self, total):
> self.__total = total
> - self.__complete = 1
> + self.__complete = 0
> self.__running = []
> self.__generator = (x for x in xrange(self.__total))
> self.__pad = len(str(self.__total))
Ah, yes. Oops.
Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>
-------------- 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/20140215/a0fc0413/attachment.pgp>
More information about the Piglit
mailing list