diff options
author | Björn Stenberg <bjst@enea.com> | 2013-03-06 10:41:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-07 11:14:39 +0000 |
commit | 00b771415282f5bcbae105ee556b2bf76416bda3 (patch) | |
tree | 580af15d032300d261496f2394637b72d698f383 /meta/recipes-extended/bash | |
parent | 6819d000cbb3c997513956373fac2bc15ddd1926 (diff) | |
download | poky-00b771415282f5bcbae105ee556b2bf76416bda3.tar.gz |
bash: Use new _ptest functions
(From OE-Core rev: 1839f969bc5d6e1555f5e5d218c0265f817fe300)
Signed-off-by: Björn Stenberg <bjst@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-extended/bash')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 20a23f030f..c619f824e9 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -25,10 +25,8 @@ do_configure_prepend () { | |||
25 | fi | 25 | fi |
26 | } | 26 | } |
27 | 27 | ||
28 | do_compile_append () { | 28 | do_compile_ptest () { |
29 | if [ "${PN}" = "${BPN}" -a ${PTEST_ENABLED} = "1" ]; then | 29 | oe_runmake buildtest |
30 | oe_runmake buildtest | ||
31 | fi | ||
32 | } | 30 | } |
33 | 31 | ||
34 | do_install_append () { | 32 | do_install_append () { |
@@ -37,12 +35,11 @@ do_install_append () { | |||
37 | mkdir -p ${D}${base_bindir} | 35 | mkdir -p ${D}${base_bindir} |
38 | mv ${D}${bindir}/bash ${D}${base_bindir} | 36 | mv ${D}${bindir}/bash ${D}${base_bindir} |
39 | fi | 37 | fi |
38 | } | ||
40 | 39 | ||
41 | if [ "${PN}" = "${BPN}" -a ${PTEST_ENABLED} = "1" ]; then | 40 | do_install_ptest () { |
42 | ptest_do_install | 41 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test |
43 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test | 42 | cp ${B}/Makefile ${D}${PTEST_PATH} |
44 | cp ${B}/Makefile ${D}${PTEST_PATH} | ||
45 | fi | ||
46 | } | 43 | } |
47 | 44 | ||
48 | pkg_postinst_${PN} () { | 45 | pkg_postinst_${PN} () { |