summaryrefslogtreecommitdiffstats
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:35:03 +0100
commit18ce7e2ef3a3b65bc0abca4f0135005249e6d2ca (patch)
tree3ddc2a35ca49d6514121a5c9039538583e6eac9e
parent34ea005d6a17362aa16d4c7796b85062ab14a8ad (diff)
downloadpoky-18ce7e2ef3a3b65bc0abca4f0135005249e6d2ca.tar.gz
poky-18ce7e2ef3a3b65bc0abca4f0135005249e6d2ca.tar.bz2
poky-18ce7e2ef3a3b65bc0abca4f0135005249e6d2ca.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. (From OE-Core rev: a66ed717f5f5991ee4072df67428564677e7d220) 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 1cf7014bc8..1567f36227 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):