folks: dont build tests as they are not installed anyway

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2022-01-28 18:58:42 +01:00 committed by Khem Raj
parent 09689ad65b
commit c597a154dd

View File

@ -8,6 +8,7 @@ DEPENDS = " \
" "
GNOMEBASEBUILDCLASS = "meson" GNOMEBASEBUILDCLASS = "meson"
EXTRA_OEMESON += "-Dtests=false"
# gobject-introspection is mandatory and cannot be configured # gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
@ -19,9 +20,8 @@ PACKAGECONFIG[ofono] = "-Deds_backend=true -Dofono_backend=true,-Dofono_backend=
PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib dbus-glib" PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib dbus-glib"
PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false,libxml2" PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false,libxml2"
PACKAGECONFIG[inspect_tool] = "-Dinspect_tool=true,-Dinspect_tool=false" PACKAGECONFIG[inspect_tool] = "-Dinspect_tool=true,-Dinspect_tool=false"
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,python3-dbusmock-native"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests','', d)}" PACKAGECONFIG ??= ""
inherit pkgconfig gnomebase gettext gobject-introspection vala features_check inherit pkgconfig gnomebase gettext gobject-introspection vala features_check