]> code.ossystems Code Review - openembedded-core.git/commit
classes/oeqa: Replace subprocess.check_call() with check_output()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 17:43:40 +0000 (17:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 23:30:44 +0000 (23:30 +0000)
commitad750dd1cc9d789abe723daddd098ce41d8547f5
treea04de472a68fb60b1a783b3065cd06f6e096a44e
parentda58e27a0f8fc8200f1953f05888834abd79c9f8
classes/oeqa: Replace subprocess.check_call() with check_output()

If you use subprocess.check_output() the traceback will contain the output
when the command fails which is very useful for debugging. There is no
good reason not to use this everywhere.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/classes/staging.bbclass
meta/classes/uninative.bbclass
meta/lib/oe/rootfs.py
meta/lib/oeqa/sdk/utils/sdkbuildproject.py
meta/lib/oeqa/utils/buildproject.py
meta/lib/oeqa/utils/targetbuild.py