summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index aa304f108e..78b41caf99 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -184,12 +184,13 @@ def package_qa_write_error(type, error, d):
184 f.write("%s: %s [%s]\n" % (p, error, type)) 184 f.write("%s: %s [%s]\n" % (p, error, type))
185 185
186def package_qa_handle_error(error_class, error_msg, d): 186def package_qa_handle_error(error_class, error_msg, d):
187 package_qa_write_error(error_class, error_msg, d)
188 if error_class in (d.getVar("ERROR_QA") or "").split(): 187 if error_class in (d.getVar("ERROR_QA") or "").split():
188 package_qa_write_error(error_class, error_msg, d)
189 bb.error("QA Issue: %s [%s]" % (error_msg, error_class)) 189 bb.error("QA Issue: %s [%s]" % (error_msg, error_class))
190 d.setVar("QA_SANE", False) 190 d.setVar("QA_SANE", False)
191 return False 191 return False
192 elif error_class in (d.getVar("WARN_QA") or "").split(): 192 elif error_class in (d.getVar("WARN_QA") or "").split():
193 package_qa_write_error(error_class, error_msg, d)
193 bb.warn("QA Issue: %s [%s]" % (error_msg, error_class)) 194 bb.warn("QA Issue: %s [%s]" % (error_msg, error_class))
194 else: 195 else:
195 bb.note("QA Issue: %s [%s]" % (error_msg, error_class)) 196 bb.note("QA Issue: %s [%s]" % (error_msg, error_class))