From 1b358be2b88eb78b557fbb2479321c2fdcbac9e0 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Thu, 26 Aug 2021 11:19:44 -0400 Subject: 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. Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-license-expression_21.6.14.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb b/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb index 2ed5d91709..efa8854411 100644 --- a/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb +++ b/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb @@ -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/ } -- cgit 1.2.3-korg