summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-04-29 21:18:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-02 23:21:42 +0100
commit0a5079681e063b801d72d2cda04335aae4e2c604 (patch)
tree3710fc1c206734bb5b413f52724dc4bd02bb2674 /meta/recipes-extended/bash
parent86a66606fe903048a076b83bbd36578494b14f89 (diff)
downloadpoky-0a5079681e063b801d72d2cda04335aae4e2c604.tar.gz
bash: Include files needed for run-heredoc ptest
These files are used by this ptest case 103,108d102 < cat: ../y.tab.c: No such file or directory < cmp: ../y.tab.c: No such file or directory < cat: /usr/lib/bash/ptest/config.h: No such file or directory < cmp: /usr/lib/bash/ptest/config.h: No such file or directory < cat: /usr/lib/bash/ptest/version.h: No such file or directory < cmp: /usr/lib/bash/ptest/version.h: No such file or directory FAIL: run-heredoc (From OE-Core rev: 0672a3dae14462e590959e966fef22b6e2a2ad09) Signed-off-by: Khem Raj <raj.khem@gmail.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.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index d3e1dfdb30..7350601c65 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -91,6 +91,9 @@ do_install_append_class-target () {
91do_install_ptest () { 91do_install_ptest () {
92 make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test 92 make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test
93 cp ${B}/Makefile ${D}${PTEST_PATH} 93 cp ${B}/Makefile ${D}${PTEST_PATH}
94 cp ${B}/config.h ${D}${PTEST_PATH}
95 cp ${B}/version.h ${D}${PTEST_PATH}
96 cp ${S}/y.tab.[ch] ${D}${PTEST_PATH}
94 install -D ${WORKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests 97 install -D ${WORKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests
95 sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ 98 sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
96 -e 's|${DEBUG_PREFIX_MAP}||g' \ 99 -e 's|${DEBUG_PREFIX_MAP}||g' \