[oe-commits] Ross Burton : ptest-gnome: add ptest helper for GNOME packages

git at git.openembedded.org git at git.openembedded.org
Fri Jul 25 14:34:58 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 6a66fadbd7d7675c61c342f9c338edbdedf8b92c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6a66fadbd7d7675c61c342f9c338edbdedf8b92c

Author: Ross Burton <ross.burton at intel.com>
Date:   Wed Jul 23 23:07:22 2014 +0100

ptest-gnome: add ptest helper for GNOME packages

Many GNOME packages are using their InstalledTests pattern, where the test suite
can be trivially installed.  To avoid repeating the same logic over and over,
add a class to encapsulate this.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/ptest-gnome.bbclass | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/classes/ptest-gnome.bbclass b/meta/classes/ptest-gnome.bbclass
new file mode 100644
index 0000000..b2949af
--- /dev/null
+++ b/meta/classes/ptest-gnome.bbclass
@@ -0,0 +1,8 @@
+inherit ptest
+
+EXTRA_OECONF_append_class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}"
+
+FILES_${PN}-ptest += "${libexecdir}/installed-tests/ \
+                      ${datadir}/installed-tests/"
+
+RDEPENDS_${PN}-ptest += "gnome-desktop-testing"



More information about the Openembedded-commits mailing list