summaryrefslogtreecommitdiff
path: root/meta
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 /meta
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>
Diffstat (limited to 'meta')
-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):
a> 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205