summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdkext
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-12-11 23:26:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-13 16:32:21 +0000
commit5e15b242a49ded354d23cff616365209d3f8588b (patch)
treec4da839539b2b99280a4b82e2ec300ba2f87dc80 /meta/lib/oeqa/sdkext
parent778f3ce1e66ebc517a36d8567b5debbf317be343 (diff)
downloadpoky-5e15b242a49ded354d23cff616365209d3f8588b.tar.gz
oeqa/sdk: show output if run() fails
Use oeqa.utils.subprocesstweak to monkey-patch the subprocess exception so that any output is shown, and remove any explicit try/catch handling that would have hidden this. (From OE-Core rev: 55964b33b561397287779ee474170790dfd03e85) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdkext')
-rw-r--r--meta/lib/oeqa/sdkext/cases/devtool.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py
index 0860e8d17c..d322f86c73 100644
--- a/meta/lib/oeqa/sdkext/cases/devtool.py
+++ b/meta/lib/oeqa/sdkext/cases/devtool.py
@@ -9,6 +9,9 @@ from oeqa.sdkext.case import OESDKExtTestCase
9from oeqa.core.decorator.oeid import OETestID 9from oeqa.core.decorator.oeid import OETestID
10from oeqa.utils.httpserver import HTTPService 10from oeqa.utils.httpserver import HTTPService
11 11
12from oeqa.utils.subprocesstweak import errors_have_output
13errors_have_output()
14
12class DevtoolTest(OESDKExtTestCase): 15class DevtoolTest(OESDKExtTestCase):
13 @classmethod 16 @classmethod
14 def setUpClass(cls): 17 def setUpClass(cls):