summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 75db7a2d8a..336beaa061 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -216,7 +216,7 @@ def package_qa_check_dev(path, name, d, elf, messages):
216 Check for ".so" library symlinks in non-dev packages 216 Check for ".so" library symlinks in non-dev packages
217 """ 217 """
218 218
219 if not name.endswith("-dev") and not name.endswith("-dbg") and not name.startswith("nativesdk-") and path.endswith(".so") and os.path.islink(path): 219 if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-ptest") and not name.startswith("nativesdk-") and path.endswith(".so") and os.path.islink(path):
220 messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \ 220 messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \
221 (name, package_qa_clean_path(path,d))) 221 (name, package_qa_clean_path(path,d)))
222 222
@@ -229,7 +229,7 @@ def package_qa_check_staticdev(path, name, d, elf, messages):
229 libgcc.a, libgcov.a will be skipped in their packages 229 libgcc.a, libgcov.a will be skipped in their packages
230 """ 230 """
231 231
232 if not name.endswith("-pic") and not name.endswith("-staticdev") and path.endswith(".a") and not path.endswith("_nonshared.a"): 232 if not name.endswith("-pic") and not name.endswith("-staticdev") and not name.endswith("-ptest") and path.endswith(".a") and not path.endswith("_nonshared.a"):
233 messages.append("non -staticdev package contains static .a library: %s path '%s'" % \ 233 messages.append("non -staticdev package contains static .a library: %s path '%s'" % \
234 (name, package_qa_clean_path(path,d))) 234 (name, package_qa_clean_path(path,d)))
235 235
@@ -273,7 +273,7 @@ def package_qa_check_dbg(path, name, d, elf, messages):
273 Check for ".debug" files or directories outside of the dbg package 273 Check for ".debug" files or directories outside of the dbg package
274 """ 274 """
275 275
276 if not "-dbg" in name: 276 if not "-dbg" in name and not "-ptest" in name:
277 if '.debug' in path.split(os.path.sep): 277 if '.debug' in path.split(os.path.sep):
278 messages.append("non debug package contains .debug directory: %s path %s" % \ 278 messages.append("non debug package contains .debug directory: %s path %s" % \
279 (name, package_qa_clean_path(path,d))) 279 (name, package_qa_clean_path(path,d)))