From 6a71f661732671dd5ae5d3abce0ea41c7193754d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 11 Sep 2015 13:24:50 +0100 Subject: testimage: Fix SDK extraction error handling Currently if the SDK fails to extract, no error is shown and the test is marked as passed! Clearly this is incorrect, fix it to correctly raise an error. (From OE-Core rev: fb2235a21e45fa1a47c3b7a9a6a72c515ef10dd1) Signed-off-by: Richard Purdie --- meta/classes/testimage.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/classes/testimage.bbclass') diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 19a37cb037..d4263df323 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -375,7 +375,10 @@ def testsdk_main(d): sdktestdir = d.expand("${WORKDIR}/testimage-sdk/") bb.utils.remove(sdktestdir, True) bb.utils.mkdirhier(sdktestdir) - subprocess.call("cd %s; %s <