From ff41cfb5086b429aeea720e380fbe8b930d107c0 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 24 Jun 2016 00:07:02 +1200 Subject: [PATCH] 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. (From OE-Core rev: 798bec6fe43116b51247284eb4e415337b2e8e04) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- meta/classes/testsdk.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index f4dc2c36dc0..18f7678d37f 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 <