summaryrefslogtreecommitdiffstats
path: root/meta/classes/testsdk.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-10-10 01:54:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 10:13:39 +0000
commitde30b61b87047f61de4629f8e5bd87598de7fd0c (patch)
treed6a8dc2ecb78c688853122e05f0fc0ab2f48da83 /meta/classes/testsdk.bbclass
parent1bd599eae46127115ecf5c45c70d7f60d1209c94 (diff)
downloadopenembedded-core-de30b61b87047f61de4629f8e5bd87598de7fd0c.tar.gz
openembedded-core-de30b61b87047f61de4629f8e5bd87598de7fd0c.tar.bz2
openembedded-core-de30b61b87047f61de4629f8e5bd87598de7fd0c.zip
staging.bbclass: make subprocess.check_output() capture stderr
This is very useful for debugging. The similar to testsdk.bbclass. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testsdk.bbclass')
-rw-r--r--meta/classes/testsdk.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index 6b51a33db2..9fe8c34fc2 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -159,7 +159,8 @@ def testsdkext_main(d):
f.write('INHERIT += "own-mirrors"')
# We need to do this in case we have a minimal SDK
- subprocess.check_output(". %s > /dev/null; devtool sdk-install meta-extsdk-toolchain" % sdk_env, cwd=sdk_dir, shell=True)
+ subprocess.check_output(". %s > /dev/null; devtool sdk-install meta-extsdk-toolchain" % \
+ sdk_env, cwd=sdk_dir, shell=True, stderr=subprocess.STDOUT)
tc = OESDKExtTestContext(td=test_data, logger=logger, sdk_dir=sdk_dir,
sdk_env=sdk_env, target_pkg_manifest=target_pkg_manifest,