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:09:34 +0000
commit34430ecdc4bb7414ca865df1b164bce1e4fec6fa (patch)
tree61903ab52e46edc4f3df319faf572c2a7c3426c1 /meta/recipes-core/udev/udev.inc
parent137ab87de54724f839ae217fd51f870b4ae6b3b3 (diff)
downloadopenembedded-core-contrib-34430ecdc4bb7414ca865df1b164bce1e4fec6fa.tar.gz
udev: Add ptest
Install udev test suite and run it as a ptest. Signed-off-by: Alexandra Safta <alexandra.safta@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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
+}