From a66ed717f5f5991ee4072df67428564677e7d220 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 7 Jul 2011 18:32:47 +0100 Subject: insane.bbclass: fix error/warning status being inverted Fix package_qa_handle_error so that it returns the correct values in order to determine error/warning status. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- meta/classes/insane.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 1cf7014bc..1567f3622 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -112,10 +112,10 @@ def package_qa_handle_error(error_class, error_msg, d): package_qa_write_error(error_msg, d) if error_class in (d.getVar("ERROR_QA", True) or "").split(): bb.error("QA Issue: %s" % error_msg) - return True + return False else: bb.warn("QA Issue: %s" % error_msg) - return False + return True QAPATHTEST[rpaths] = "package_qa_check_rpath" def package_qa_check_rpath(file,name, d, elf, messages): -- cgit v1.2.3