summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/bash/bash.inc15
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
28do_compile_append () { 28do_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
34do_install_append () { 32do_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 40do_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
48pkg_postinst_${PN} () { 45pkg_postinst_${PN} () {