]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/buildperf: don't archive stdout/stderr of commands
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 27 Jan 2017 14:54:53 +0000 (16:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Feb 2017 04:06:27 +0000 (20:06 -0800)
commite004664287ec03e7367a7bf553d9a3038444e82e
tree85cb3040ba7cc312c63b336c34548eee93c9822b
parent515f4c129ad27e9502621738d0bf7f5552627f19
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.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/buildperf/base.py
meta/lib/oeqa/buildperf/test_basic.py