diff options
author | Ross Burton <ross.burton@intel.com> | 2014-07-23 23:07:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-25 15:33:59 +0100 |
commit | 403aa976ed3dd8865336b3e37c96bf145c1e6995 (patch) | |
tree | d35fe0c7fbb67728e268f1c49f9b5e6b09c6d20a /meta | |
parent | 050cbac72b04b6970031029621c6e60408344286 (diff) | |
download | poky-403aa976ed3dd8865336b3e37c96bf145c1e6995.tar.gz |
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.
(From OE-Core rev: 6a66fadbd7d7675c61c342f9c338edbdedf8b92c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/ptest-gnome.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/ptest-gnome.bbclass b/meta/classes/ptest-gnome.bbclass new file mode 100644 index 0000000000..b2949af9bb --- /dev/null +++ b/meta/classes/ptest-gnome.bbclass | |||
@@ -0,0 +1,8 @@ | |||
1 | inherit ptest | ||
2 | |||
3 | EXTRA_OECONF_append_class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}" | ||
4 | |||
5 | FILES_${PN}-ptest += "${libexecdir}/installed-tests/ \ | ||
6 | ${datadir}/installed-tests/" | ||
7 | |||
8 | RDEPENDS_${PN}-ptest += "gnome-desktop-testing" | ||