mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
staging.bbclass: make subprocess.check_output() capture stderr
This is very useful for debugging. The similar to testsdk.bbclass. (From OE-Core rev: de30b61b87047f61de4629f8e5bd87598de7fd0c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ac37bca5ca
commit
d0bed31189
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user