generic-poky/meta/lib/oeqa/buildperf
Markus Lehtonen fcd28fd50f oeqa/buildperf: don't archive stdout/stderr of commands
Stop capturing output of the shell commands into <test>/commands.log.
Redirecting output into a file prevented the unittest framework from
capturing it, causing useless errors (with empty output) like:
oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato']'
returned non-zero exit status 1 with output:

In general, the console output of commands is only interesting when
something fails. Also, dropping the commands.log file is a huge saving
in disk space, and thus, repository size when results are archived in
Git.

(From OE-Core rev: e004664287ec03e7367a7bf553d9a3038444e82e)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-15 20:06:41 -08:00
..
__init__.py oeqa.buildperf: introduce runCmd2() 2016-08-17 10:35:44 +01:00
base.py oeqa/buildperf: don't archive stdout/stderr of commands 2017-02-15 20:06:41 -08:00
test_basic.py oeqa/buildperf: don't archive stdout/stderr of commands 2017-02-15 20:06:41 -08:00