diff options
author | Alexandra Safta <alexandra.safta@enea.com> | 2013-12-02 13:39:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-14 09:11:14 +0000 |
commit | db4961ba7fde74e408b031b1464064398a7fd0e4 (patch) | |
tree | 87d2b15a1063088b0c1398ad96376c176efc5add /meta/recipes-core/udev/udev.inc | |
parent | b8e3996e7c2f46b72ff88db3308140a976cf8c18 (diff) | |
download | poky-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.inc | 8 |
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 \ | |||
26 | file://local.rules \ | 26 | file://local.rules \ |
27 | file://udev-cache \ | 27 | file://udev-cache \ |
28 | file://udev-cache.default \ | 28 | file://udev-cache.default \ |
29 | file://add-install-ptest.patch \ | ||
30 | file://run-ptest \ | ||
29 | file://init" | 31 | file://init" |
30 | 32 | ||
31 | inherit autotools pkgconfig update-rc.d | 33 | inherit autotools pkgconfig update-rc.d ptest |
34 | +RDEPENDS_${PN}-ptest += "make" | ||
32 | 35 | ||
33 | libexecdir = "${base_libdir}" | 36 | libexecdir = "${base_libdir}" |
34 | EXTRA_OECONF = "--disable-introspection \ | 37 | EXTRA_OECONF = "--disable-introspection \ |
@@ -99,3 +102,6 @@ python () { | |||
99 | if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d): | 102 | if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d): |
100 | raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES") | 103 | raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES") |
101 | } | 104 | } |
105 | do_compile_ptest() { | ||
106 | oe_runmake test-udev | ||
107 | } | ||