Message ID | 20250210093609.3899881-1-mingli.yu@eng.windriver.com |
---|---|
State | New |
Headers | show |
Series | python3-license-expression: Make the ptest work as expected | expand |
On 10 Feb 2025, at 09:36, Yu, Mingli via lists.openembedded.org <mingli.yu=eng.windriver.com@lists.openembedded.org> wrote: > -do_install_ptest() { > +do_install_ptest:append() { > install -d ${D}${PTEST_PATH}/src > cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ > cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ I didn’t like how this test was installing the entire source tree again, so I just sent a patch to surgically install just what the tests need. Ross
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb index 649b53ea49..73eeff9c06 100644 --- a/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb +++ b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb @@ -22,7 +22,7 @@ RDEPENDS:${PN} += "\ BBCLASSEXTEND = "native nativesdk" -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/src cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/