summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk/case.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-08-31 16:53:53 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-10 19:07:40 +0100
commit1f42bb0cb08a649acc59d372fbc1b2729129ec34 (patch)
tree335c5d851e430a83d6b787499c81de0c05257c18 /meta/lib/oeqa/sdk/case.py
parent2d2836527ca1417aecb74d6faefa5229345c512c (diff)
downloadpoky-1f42bb0cb08a649acc59d372fbc1b2729129ec34.tar.gz
oeqa: sdk: Capture stderr output
Redirect stderr to stdout when running subcommands while doing the SDK tests. The tests will show stdout when CalledProcessError is raised, but any output to stderr was lost. (From OE-Core rev: cf6cab12ca7ff40ac484cdaf27ea91ed49b901b0) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7cb4e9ab8c1596281060e94a216966060103956e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk/case.py')
-rw-r--r--meta/lib/oeqa/sdk/case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk/case.py
index ebb03af9eb..c45882689c 100644
--- a/meta/lib/oeqa/sdk/case.py
+++ b/meta/lib/oeqa/sdk/case.py
@@ -26,7 +26,7 @@ class OESDKTestCase(OETestCase):
26 return tarball 26 return tarball
27 27
28 tarball = os.path.join(workdir, archive) 28 tarball = os.path.join(workdir, archive)
29 subprocess.check_output(["wget", "-O", tarball, url]) 29 subprocess.check_output(["wget", "-O", tarball, url], stderr=subprocess.STDOUT)
30 return tarball 30 return tarball
31 31
32 def check_elf(self, path, target_os=None, target_arch=None): 32 def check_elf(self, path, target_os=None, target_arch=None):