summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb9
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
2 files changed, 9 insertions, 2 deletions
diff --git a/meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb b/meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb
index 4285d11b72..36f2a07ecf 100644
--- a/meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb
+++ b/meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb
@@ -7,6 +7,8 @@ HOMEPAGE = "https://gitlab.freedesktop.org/dbus/zbus/"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=b377b220f43d747efdec40d69fcaa69d" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=b377b220f43d747efdec40d69fcaa69d"
9 9
10DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'glib-2.0', '', d)}"
11
10SRC_URI = " \ 12SRC_URI = " \
11 git://gitlab.freedesktop.org/dbus/zbus;protocol=https;branch=main;subpath=zvariant \ 13 git://gitlab.freedesktop.org/dbus/zbus;protocol=https;branch=main;subpath=zvariant \
12 file://0001-Tweak-zvariant-crate-config.patch;striplevel=2 \ 14 file://0001-Tweak-zvariant-crate-config.patch;striplevel=2 \
@@ -21,10 +23,15 @@ python do_clean_lic_file_symlink() {
21 23
22addtask clean_lic_file_symlink after do_unpack before do_patch 24addtask clean_lic_file_symlink after do_unpack before do_patch
23 25
24inherit cargo cargo-update-recipe-crates 26inherit ptest-cargo pkgconfig cargo-update-recipe-crates
25 27
26# Remove this when the recipe is reproducible 28# Remove this when the recipe is reproducible
27EXCLUDE_FROM_WORLD = "1" 29EXCLUDE_FROM_WORLD = "1"
28 30
29require ${BPN}-crates.inc 31require ${BPN}-crates.inc
30require ${BPN}-git-crates.inc 32require ${BPN}-git-crates.inc
33
34# zvariant is an indermediate product for the zbus project
35# and so, it provided only a static lib (rlib) which fall only
36# in -dev package
37ALLOW_EMPTY:${PN} = "1"
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 94873fd19f..1896944250 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -876,7 +876,7 @@ class DevtoolModifyTests(DevtoolBase):
876 self.assertTrue(any([uri.startswith('file://') and '.patch' in uri for uri in src_uri]), 876 self.assertTrue(any([uri.startswith('file://') and '.patch' in uri for uri in src_uri]),
877 'This test expects the %s recipe to have a patch in its src uris' % testrecipe) 877 'This test expects the %s recipe to have a patch in its src uris' % testrecipe)
878 878
879 self._test_recipe_contents(recipefile, {}, ['cargo']) 879 self._test_recipe_contents(recipefile, {}, ['ptest-cargo'])
880 880
881 # Clean up anything in the workdir/sysroot/sstate cache 881 # Clean up anything in the workdir/sysroot/sstate cache
882 bitbake('%s -c cleansstate' % testrecipe) 882 bitbake('%s -c cleansstate' % testrecipe)