From 82a5df1a0a7d225e4e1c37a02443cc539edc34f7 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Tue, 7 Oct 2014 20:00:13 -0700 Subject: clutter-1.0: add ptest Upstream has reworked installed-tests, use them for ptest. Default output format for tests is not TAP, add patch to generate TAP output. Run tests with gnome-desktop-testing-runner, which understands TAP output. Tested on nuc with core-image-clutter and core-image-weston. Reminder that for "pure" wayland (e.g. core-image-weston) you need to "export CLUTTER_BACKEND = wayland" to get past setting the DISPLAY variable expected for X11 backend. (From OE-Core rev: 7656e861be3e7c6111b722761857b4a7c5905712) Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- meta/recipes-graphics/clutter/clutter-1.0.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-graphics/clutter/clutter-1.0.inc') diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc index 77035d746f..3929765a9d 100644 --- a/meta/recipes-graphics/clutter/clutter-1.0.inc +++ b/meta/recipes-graphics/clutter/clutter-1.0.inc @@ -2,7 +2,7 @@ SUMMARY = "Graphics library for creating hardware-accelerated user interfaces" HOMEPAGE = "http://www.clutter-project.org/" LICENSE = "LGPLv2.1+" -inherit clutter +inherit clutter ptest-gnome DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" PACKAGE_BEFORE_PN += "${PN}-examples" @@ -39,6 +39,8 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug" FILES_${PN}-examples = "${libdir}/clutter/examples" +FILES_${PN}-dbg += "${libexecdir}/installed-tests/.debug" + do_configure_prepend() { # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this touch -t 200001010000 ${S}/po/clutter-1.0.pot -- cgit v1.2.3-54-g00ecf