[Piglit] piglit summary output no longer greppable?

Dylan Baker baker.dylan.c at gmail.com
Wed Aug 12 13:20:56 PDT 2015


I've pushed a fixed up version of Jordan's patch to piglit, which in my
testing fixed this issue.

Jordan, your patch didn't correctly detect xz on my system, so I needed to
make some changes to get it working.

On Tue, Aug 11, 2015 at 6:41 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:

> Hi Dylan,
>
> Looks like something happened to piglit summary redirection... Note
> that I had to hit ^C, or else nothing was coming out. Seems like the
> xz check is somehow not getting its own separate stdout or something?
>
> $ python piglit-summary.py asdf2 | grep fail
> ^CTraceback (most recent call last):
>   File "piglit-summary.py", line 26, in <module>
>     from framework.programs.summary import console
>   File "/home/ilia/src/piglit/framework/programs/summary.py", line 30,
> in <module>
>     from framework import summary, status, core, backends, exceptions
>   File "/home/ilia/src/piglit/framework/summary.py", line 41, in <module>
>     from framework import grouptools, backends, exceptions
>   File "/home/ilia/src/piglit/framework/backends/__init__.py", line
> 48, in <module>
>     from .compression import COMPRESSION_SUFFIXES
>   File "/home/ilia/src/piglit/framework/backends/compression.py", line
> 98, in <module>
>     subprocess.check_call(['xz'], stderr=d)
>   File "/usr/lib64/python2.7/subprocess.py", line 535, in check_call
>     retcode = call(*popenargs, **kwargs)
>   File "/usr/lib64/python2.7/subprocess.py", line 522, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib64/python2.7/subprocess.py", line 1384, in wait
>     pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
>   File "/usr/lib64/python2.7/subprocess.py", line 476, in _eintr_retry_call
>     return func(*args)
> KeyboardInterrupt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150812/4c23621a/attachment.html>


More information about the Piglit mailing list