summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter/clutter-1.0.inc
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2014-10-07 20:00:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 08:14:18 +0000
commit82a5df1a0a7d225e4e1c37a02443cc539edc34f7 (patch)
tree701f0e887707cc8f85a3feb9c6fee8c00f1a3249 /meta/recipes-graphics/clutter/clutter-1.0.inc
parent66ede54cf8738107f4295179d19aed24e356eb36 (diff)
downloadpoky-82a5df1a0a7d225e4e1c37a02443cc539edc34f7.tar.gz
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 <TicoTimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter-1.0.inc')
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0.inc4
1 files changed, 3 insertions, 1 deletions
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"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1+" 3LICENSE = "LGPLv2.1+"
4 4
5inherit clutter 5inherit clutter ptest-gnome
6 6
7DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" 7DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0"
8PACKAGE_BEFORE_PN += "${PN}-examples" 8PACKAGE_BEFORE_PN += "${PN}-examples"
@@ -39,6 +39,8 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland',
39FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug" 39FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug"
40FILES_${PN}-examples = "${libdir}/clutter/examples" 40FILES_${PN}-examples = "${libdir}/clutter/examples"
41 41
42FILES_${PN}-dbg += "${libexecdir}/installed-tests/.debug"
43
42do_configure_prepend() { 44do_configure_prepend() {
43 # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this 45 # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this
44 touch -t 200001010000 ${S}/po/clutter-1.0.pot 46 touch -t 200001010000 ${S}/po/clutter-1.0.pot