Skip to contentSkip to conversation

python3-license-expression: add ptest artifacts

PATCH New Trevor Gamblin 1 participant 1 message Aug 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-license-expression: add ptest artifacts

The python3-license-expression ptest is failing because it requires the contents of the src/ directory from the repo/tarball. Copy this content to the image when installing the ptest so that it has what it needs.

---
 .../python/python3-license-expression_21.6.14.bb            | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb +4 -2
index 2ed5d9170..efa885441 100644
@@ -28,6 +28,8 @@ 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
+    install -d ${D}${PTEST_PATH}/src
+    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+    cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
 }
Signature · 1 line
2.31.1