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-27 08:15:07 +0100 |
commit | 430394da972a0270c2c882fa255a4d3c64edbdbf (patch) | |
tree | 62b25828f077c1d1d72b448362ed240e32af1249 /meta | |
parent | 68190b511531886f498a3cf57f9ad7fb126d5fcb (diff) | |
download | poky-430394da972a0270c2c882fa255a4d3c64edbdbf.tar.gz |
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.
(From OE-Core rev: 3f1996cb016713295edf35edc32dd5e84888a5c7)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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') | |||
36 | 36 | ||
37 | # Our own version of runCmd which does not raise AssertErrors which would cause | 37 | # Our own version of runCmd which does not raise AssertErrors which would cause |
38 | # errors to interpreted as failures | 38 | # errors to interpreted as failures |
39 | runCmd2 = partial(runCmd, assert_error=False) | 39 | runCmd2 = partial(runCmd, assert_error=False, limit_exc_output=40) |
40 | 40 | ||
41 | 41 | ||
42 | class KernelDropCaches(object): | 42 | class KernelDropCaches(object): |