diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-08-31 16:53:53 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-02 15:58:05 +0100 |
commit | 7cb4e9ab8c1596281060e94a216966060103956e (patch) | |
tree | 935691ff5e6ecaeb8ae48e6884da15f71253b473 /meta/lib/oeqa/sdk/cases/buildepoxy.py | |
parent | b6135777799de531e2cb4017e91a8c41749d1fd5 (diff) | |
download | openembedded-core-contrib-7cb4e9ab8c1596281060e94a216966060103956e.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.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk/cases/buildepoxy.py')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildepoxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py index 4211955f8d..385f8ccca8 100644 --- a/meta/lib/oeqa/sdk/cases/buildepoxy.py +++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py @@ -28,7 +28,7 @@ class EpoxyTest(OESDKTestCase): dirs["build"] = os.path.join(testdir, "build") dirs["install"] = os.path.join(testdir, "install") - subprocess.check_output(["tar", "xf", tarball, "-C", testdir]) + subprocess.check_output(["tar", "xf", tarball, "-C", testdir], stderr=subprocess.STDOUT) self.assertTrue(os.path.isdir(dirs["source"])) os.makedirs(dirs["build"]) |