From: Richard Purdie Date: Fri, 11 Sep 2015 12:24:50 +0000 (+0100) Subject: testimage: Fix SDK extraction error handling X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28946 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2235a21e45fa1a47c3b7a9a6a72c515ef10dd1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 19a37cb037e..d4263df3231 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 <