[Avocado-devel] RFC: avocado.utils.process (or, how to handle the split stdout/stderr recording)

Satheesh Rajendran sathnaga at linux.vnet.ibm.com
Fri Nov 10 10:37:04 UTC 2017


On Wed, 2017-11-08 at 10:01 -0500, Cleber Rosa wrote:
> 
> play.  Both "stdout", "stderr" and "none" are aptly named.  But, with
> the introduction of a third *real* output record option/file, "all"
> becomes a rather bad option name.
> 
> To keep things simple, I'd add an alias from "all" to "both",
> deprecating the former.  The new option would be named either
> "combined"
> and the generated file named "combined_stdout_stderr" by default. 
> It's
> a rather verbose name, but I'd go with explicit option names rather
> than
> confusing ones.

+1, both and combined looks fine, "all" should be deprecated.

Regards,
-Satheesh.




More information about the Avocado-devel mailing list