diff options
author | Tim Orling <ticotimo@gmail.com> | 2014-10-07 20:00:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 08:14:18 +0000 |
commit | 82a5df1a0a7d225e4e1c37a02443cc539edc34f7 (patch) | |
tree | 701f0e887707cc8f85a3feb9c6fee8c00f1a3249 /meta/recipes-graphics/clutter/clutter-1.0.inc | |
parent | 66ede54cf8738107f4295179d19aed24e356eb36 (diff) | |
download | poky-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.inc | 4 |
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" | |||
2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
3 | LICENSE = "LGPLv2.1+" | 3 | LICENSE = "LGPLv2.1+" |
4 | 4 | ||
5 | inherit clutter | 5 | inherit clutter ptest-gnome |
6 | 6 | ||
7 | DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" | 7 | DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" |
8 | PACKAGE_BEFORE_PN += "${PN}-examples" | 8 | PACKAGE_BEFORE_PN += "${PN}-examples" |
@@ -39,6 +39,8 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', | |||
39 | FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug" | 39 | FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug" |
40 | FILES_${PN}-examples = "${libdir}/clutter/examples" | 40 | FILES_${PN}-examples = "${libdir}/clutter/examples" |
41 | 41 | ||
42 | FILES_${PN}-dbg += "${libexecdir}/installed-tests/.debug" | ||
43 | |||
42 | do_configure_prepend() { | 44 | do_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 |