mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
ostree: Drop tests for soup/xattr with ptest
When ptest is enabled, both soup (for trivial-httpd) and xattr must be enabled for all tests to pass. Rather than forcing everyone to enable these, just document this and remove the tests since a subset of the tests are still useful. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -42,6 +42,8 @@ inherit autotools bash-completion gobject-introspection gtk-doc pkgconfig ptest-
|
||||
|
||||
# Package configuration - match ostree defaults, but without rofiles-fuse
|
||||
# otherwise we introduce a dependendency on meta-filesystems
|
||||
#
|
||||
# If running with ptest, both soup (for trivial-httpd) and xattr are required
|
||||
PACKAGECONFIG ??= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \
|
||||
@@ -185,8 +187,4 @@ python __anonymous() {
|
||||
if bb.utils.contains('PTEST_ENABLED', '1', 'True', '', d):
|
||||
if not bb.utils.contains_any('BBFILE_COLLECTIONS', 'meta-python', 'True', '', d):
|
||||
raise bb.parse.SkipRecipe('ptest requires meta-python to be present.')
|
||||
elif not bb.utils.contains_any('PACKAGECONFIG', 'soup curl', 'True', 'False', d):
|
||||
raise bb.parse.SkipRecipe('ptest requires soup enabled in PACKAGECONFIG.')
|
||||
elif not oe.utils.any_distro_features(d, "xattr"):
|
||||
raise bb.parse.SkipRecipe('ptest requires xattr enabled in DISTRO_FEATURES.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user