Message ID | 20240709224231.2092887-1-yoann.congal@smile.fr |
---|---|
State | Accepted, archived |
Commit | 8ee42430a91d13de2b7a53c2ae04aa54bd76fad0 |
Headers | show |
Series | insane: skip unimplemented-ptest checks if disabled | expand |
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 6888fa06f0..3b04944f0a 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -1361,7 +1361,7 @@ python do_qa_patch() { return False srcdir = d.getVar('S') - if not bb.utils.contains('DISTRO_FEATURES', 'ptest', True, False, d): + if not bb.utils.contains('DISTRO_FEATURES', 'ptest', True, False, d) or not bb.utils.contains('ALL_QA', 'unimplemented-ptest', True, False, d): pass elif bb.data.inherits_class('ptest', d): bb.note("Package %s QA: skipping unimplemented-ptest: ptest implementation detected" % d.getVar('PN'))