Re: [Piglit] [PATCH] xz: Use --help when detecting xz presence

2015-08-03 Thread Dylan Baker
On Sun, Aug 02, 2015 at 12:32:29PM -0700, Jordan Justen wrote: On 2015-08-02 09:57:00, Dylan Baker wrote: On Aug 2, 2015 00:45, Jordan Justen jordan.l.jus...@intel.com wrote: If xz is present, and the piglit command's output is redirected, then xz will think its output is

[Piglit] [PATCH] xz: Use --help when detecting xz presence

2015-08-02 Thread Jordan Justen
If xz is present, and the piglit command's output is redirected, then xz will think its output is redirected. This will cause xz to try to read data from stdin to compress. Instead we can run xz with --help to cause it to print help information if the xz executable is present, and prevent xz from

Re: [Piglit] [PATCH] xz: Use --help when detecting xz presence

2015-08-02 Thread Dylan Baker
On Aug 2, 2015 00:45, Jordan Justen jordan.l.jus...@intel.com wrote: If xz is present, and the piglit command's output is redirected, then xz will think its output is redirected. This will cause xz to try to read data from stdin to compress. Instead we can run xz with --help to cause it to

Re: [Piglit] [PATCH] xz: Use --help when detecting xz presence

2015-08-02 Thread Jordan Justen
On 2015-08-02 09:57:00, Dylan Baker wrote: On Aug 2, 2015 00:45, Jordan Justen jordan.l.jus...@intel.com wrote: If xz is present, and the piglit command's output is redirected, then xz will think its output is redirected. This will cause xz to try to read data from stdin to