diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-03-24 16:43:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-26 13:17:03 +0100 |
commit | 3f1996cb016713295edf35edc32dd5e84888a5c7 (patch) | |
tree | 2e9c77d9fa7f695d98b9f76a666718b8d7c102d8 | |
parent | 403dd205828002d6ef4e8b474aedb6082289e22f (diff) | |
download | openembedded-core-3f1996cb016713295edf35edc32dd5e84888a5c7.tar.gz openembedded-core-3f1996cb016713295edf35edc32dd5e84888a5c7.tar.bz2 openembedded-core-3f1996cb016713295edf35edc32dd5e84888a5c7.zip |
oeqa.buildperf: limit the length of error output
Limit the length of error logs to 40 lines. We don't need to
show/archive thousands of lines of bitbake logs if an error occurs.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index aa5c5ad445..6e62b279c1 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py @@ -36,7 +36,7 @@ log = logging.getLogger('build-perf') # Our own version of runCmd which does not raise AssertErrors which would cause # errors to interpreted as failures -runCmd2 = partial(runCmd, assert_error=False) +runCmd2 = partial(runCmd, assert_error=False, limit_exc_output=40) class KernelDropCaches(object): |