summaryrefslogtreecommitdiff
path: root/meta/classes/ptest-gnome.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/ptest-gnome.bbclass')
-rw-r--r--meta/classes/ptest-gnome.bbclass8
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 @@
+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"