diff options
author | Tudor Florea <tudor.florea@enea.com> | 2013-07-19 19:31:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-24 11:35:35 +0100 |
commit | 18f39e545674d7405cbdf4486a911c577177706f (patch) | |
tree | 23be69f7009d7f57f0e7e8085aa1d1b601165d61 /meta/recipes-kernel/kmod/kmod_git.bb | |
parent | bbab6e78f437eedfbb7dcb09c2d5c57ee71210a3 (diff) | |
download | poky-18f39e545674d7405cbdf4486a911c577177706f.tar.gz |
kmod: Add ptest
Install kmod test suite and run it as ptest.
(From OE-Core rev: 152c973227e41b7736457b7f8c40849cc71b45ca)
Signed-off-by: Tudor Florea <tudor.florea@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-kernel/kmod/kmod_git.bb')
-rw-r--r-- | meta/recipes-kernel/kmod/kmod_git.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index 6afaca6dbb..f92ff72904 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb | |||
@@ -37,6 +37,15 @@ do_install_append () { | |||
37 | install -Dm644 "${WORKDIR}/depmod-search.conf" "${D}${base_libdir}/depmod.d/search.conf" | 37 | install -Dm644 "${WORKDIR}/depmod-search.conf" "${D}${base_libdir}/depmod.d/search.conf" |
38 | } | 38 | } |
39 | 39 | ||
40 | do_compile_prepend() { | ||
41 | sed -i 's/ac_pwd=/#ac_pwd=/' config.status ; sed -i "/#ac_pwd=/a\ac_pwd='.'" config.status | ||
42 | } | ||
43 | |||
44 | do_compile_ptest () { | ||
45 | oe_runmake buildtest-TESTS | ||
46 | oe_runmake rootfs | ||
47 | } | ||
48 | |||
40 | inherit update-alternatives | 49 | inherit update-alternatives |
41 | 50 | ||
42 | ALTERNATIVE_PRIORITY = "60" | 51 | ALTERNATIVE_PRIORITY = "60" |