From 798bec6fe43116b51247284eb4e415337b2e8e04 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 24 Jun 2016 00:07:02 +1200 Subject: 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 --- meta/classes/testsdk.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta') 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 <