From: Khem Raj Date: Fri, 30 Apr 2021 04:18:07 +0000 (-0700) Subject: bash: Include files needed for run-heredoc ptest X-Git-Tag: uninative-3.1~7 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0672a3dae14462e590959e966fef22b6e2a2ad09;p=openembedded-core.git 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 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- 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 () { do_install_ptest () { make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test cp ${B}/Makefile ${D}${PTEST_PATH} + cp ${B}/config.h ${D}${PTEST_PATH} + cp ${B}/version.h ${D}${PTEST_PATH} + cp ${S}/y.tab.[ch] ${D}${PTEST_PATH} install -D ${WORKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ -e 's|${DEBUG_PREFIX_MAP}||g' \