summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:03:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 23:27:11 +0000
commit23137a9897ab2a946d5ac78963616d63f539f43f (patch)
tree975a7479851fbc3c397988f7d863ce1b6105ec5d /meta/lib/oeqa/sdk
parent78195a23b09c1d5cee8e42d86463c9ee64b95e35 (diff)
downloadpoky-23137a9897ab2a946d5ac78963616d63f539f43f.tar.gz
oeqs/sdk*/case: Use universal_newlines for subprocess calls
This removes the need for some of the ugly decode calls with hardcoded locales. (From OE-Core rev: a14dddc77e553d2fa90d12576503dd3fc2e52bbc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-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 782db8b523..963aa8d358 100644
--- a/meta/lib/oeqa/sdk/case.py
+++ b/meta/lib/oeqa/sdk/case.py
@@ -9,4 +9,4 @@ class OESDKTestCase(OETestCase):
9 def _run(self, cmd): 9 def _run(self, cmd):
10 return subprocess.check_output(". %s > /dev/null; %s;" % \ 10 return subprocess.check_output(". %s > /dev/null; %s;" % \
11 (self.tc.sdk_env, cmd), shell=True, 11 (self.tc.sdk_env, cmd), shell=True,
12 stderr=subprocess.STDOUT).decode("utf-8") 12 stderr=subprocess.STDOUT, universal_newlines=True)