From: Paul Eggleton Date: Thu, 23 Jun 2016 12:07:02 +0000 (+1200) Subject: classes/testsdk: print output correctly on failure X-Git-Tag: uninative-1.3~452 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=798bec6fe43116b51247284eb4e415337b2e8e04;p=openembedded-core.git classes/testsdk: print output correctly on failure With Python 3 we get a bytes object from the command output and not a string, which gives some ugly formatting for error messages unless you decode it first. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index f4dc2c36dc..18f7678d37 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass @@ -65,7 +65,7 @@ def testsdk_main(d): try: subprocess.check_output("cd %s; %s <