[Piglit] [PATCH 2/2] Script to produce results in a format that Jenkins-CI understand.
Jose Fonseca
jfonseca at vmware.com
Sat Jan 21 02:29:30 PST 2012
----- Original Message -----
> On Fri, Jan 20, 2012 at 6:56 AM, <jfonseca at vmware.com> wrote:
> > +_printable =
> > '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~
> > \t\n\r'
> > +_printable = ''.join([chr(_c) in _printable and chr(_c) or '?' for
> > _c in range(256)])
> > +del _c
>
> Can string.printable be used some here?
>
I wrote this long time ago an my memory is fuzzy about it.
I think I used string.printable at one point, but there are some differences, namely \v\f are missing, probably because they caused problems w/ XML parsers. I can use some of the other string.foo strings to construct this though.
# string.printable w/o \v\f
_printable = string.digits + string.letters + string.punctuation + ' \t\n\r'
Jose
More information about the Piglit
mailing list