summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-07 18:32:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 17:33:44 +0100
commita66ed717f5f5991ee4072df67428564677e7d220 (patch)
tree0ea2923ada1a7a9bb3495a02299dab1c70c17051
parent26fd8892337e60aa439cedde51b15c42a6fd8540 (diff)
downloadopenembedded-core-a66ed717f5f5991ee4072df67428564677e7d220.tar.gz
openembedded-core-a66ed717f5f5991ee4072df67428564677e7d220.tar.bz2
openembedded-core-a66ed717f5f5991ee4072df67428564677e7d220.tar.xz
openembedded-core-a66ed717f5f5991ee4072df67428564677e7d220.zip
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 <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/insane.bbclass4
1 files 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):