]> code.ossystems Code Review - openembedded-core.git/commit
oeqa.utils.commands: limit runCmd exception output
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 24 Mar 2017 14:43:24 +0000 (16:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Mar 2017 12:17:03 +0000 (13:17 +0100)
commit403dd205828002d6ef4e8b474aedb6082289e22f
tree7676765033509ce830cb677099981807ed1a1dc7
parent5b52bbf09bb2fbec9d2d54f3c3c46c74a09fbfd0
oeqa.utils.commands: limit runCmd exception output

Make it possible to limit the length of output lines shown in runCmd
exceptions. E.g when running bitbake we easily get thousands of lines of
log output, where only the last few (tens) are interesting or relevant
when an error occurs.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/commands.py