diff options
author | Ross Burton <ross.burton@intel.com> | 2018-12-11 23:26:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-13 16:32:15 +0000 |
commit | 55964b33b561397287779ee474170790dfd03e85 (patch) | |
tree | 747ccfb1d7839498177252b049399187ce4a0cd0 /meta/lib/oeqa/sdk/cases/buildlzip.py | |
parent | 9ab94cea589fca4394ec1fd8dc06b23fd8e990b9 (diff) | |
download | openembedded-core-contrib-55964b33b561397287779ee474170790dfd03e85.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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk/cases/buildlzip.py')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildlzip.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildlzip.py b/meta/lib/oeqa/sdk/cases/buildlzip.py index 9d137f30eb..b57fbbece7 100644 --- a/meta/lib/oeqa/sdk/cases/buildlzip.py +++ b/meta/lib/oeqa/sdk/cases/buildlzip.py @@ -2,6 +2,8 @@ import unittest from oeqa.sdk.case import OESDKTestCase from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject +from oeqa.utils.subprocesstweak import errors_have_output +errors_have_output() class BuildLzipTest(OESDKTestCase): td_vars = ['DATETIME'] |