[Piglit] [BUG] Status line being printed multiple times

Dylan Baker baker.dylan.c at gmail.com
Tue Aug 12 15:10:31 PDT 2014


On Tuesday, August 12, 2014 11:01:34 PM Emil Velikov wrote:
> Hello list,
> 
> Recently I've been trying out piglit under Windows, and by default the 
cmd
> window is 80 columns in width. As such as soon as the status line 
becomes
> larger than 80 characters, a separate new line is printed for each test
> iteration. AFAICS the issue exist under Linux as well, yet the default width
> there is slightly larger :P
> 
> If memory serves me correct there was a patch floating around that
> addressing the issue, yet cannot find it. Does anyone have a 
recollection
> about such an issue and/or patch handling it ?
> 
> -Emil
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

There was a patch, here's the problem we face:
python2 doesn't have any method of detecting the width of a terminal 
(python 3 does) when the updated logger landed I was trying to update 
code that didn't work with python3 with the goal of going to python3. That 
never happened obviously, so, we can set the terminal line width and 
truncate, but then if someone needs to see more than 80 characters they 
have no ability to do that, (and there are legitimate reasons for that). 
Obviously you've run into the other bug.

I have a series that reworks a lot of the log code on the list right now. I'll 
send out a patch to limit it then if that works for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140812/67defd73/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140812/67defd73/attachment.sig>


More information about the Piglit mailing list