aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev.inc
diff options
context:
space:
mode:
authorAlexandra Safta <alexandra.safta@enea.com>2013-12-02 13:39:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-14 09:11:14 +0000
commitdb4961ba7fde74e408b031b1464064398a7fd0e4 (patch)
tree87d2b15a1063088b0c1398ad96376c176efc5add /meta/recipes-core/udev/udev.inc
parentb8e3996e7c2f46b72ff88db3308140a976cf8c18 (diff)
downloadopenembedded-core-contrib-db4961ba7fde74e408b031b1464064398a7fd0e4.tar.gz
udev: Add ptest
Install udev test suite and run it as a ptest. (From OE-Core rev: 34430ecdc4bb7414ca865df1b164bce1e4fec6fa) Signed-off-by: Alexandra Safta <alexandra.safta@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev.inc')
-rw-r--r--meta/recipes-core/udev/udev.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index db09c54843..3190731a6a 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -26,9 +26,12 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://local.rules \
file://udev-cache \
file://udev-cache.default \
+ file://add-install-ptest.patch \
+ file://run-ptest \
file://init"
-inherit autotools pkgconfig update-rc.d
+inherit autotools pkgconfig update-rc.d ptest
++RDEPENDS_${PN}-ptest += "make"
libexecdir = "${base_libdir}"
EXTRA_OECONF = "--disable-introspection \
@@ -99,3 +102,6 @@ python () {
if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES")
}
+do_compile_ptest() {
+ oe_runmake test-udev
+}