python3-click: Add missing ptest artifacts

The click ptests require the top-level setup.cfg and the docs/conf.py
file to be present in the PTEST_PATH, so add steps to copy them to the
image when building the ptest.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Trevor Gamblin
2021-08-17 11:00:01 -04:00
committed by Khem Raj
parent f58bd1789a
commit bd4804580b

View File

@@ -23,8 +23,10 @@ RDEPENDS:${PN}-ptest += " \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
cp -rf ${S}/docs ${D}${PTEST_PATH}/
}
UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"