Skip to contentSkip to conversation

python3-portion: Fix test_doc.py ptest

PATCH New Khem Raj 1 participant 1 message Jan 24, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-portion: Fix test_doc.py ptest

Add README.md into ptest package

Cc Derek Straka <[email protected]>
---
 meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-portion_2.6.0.bb +2 -2
index 8bdbc032cf..2c2e67579e 100644
@@ -14,8 +14,8 @@ RDEPENDS:${PN} += "\
 "
 
 do_install_ptest:append () {
-	# This file tests README.md and deleted as redundant.
-	rm -f ${D}/tests/test_doc.py
+	# test_doc.py tests README.md.
+	install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md
 }
 
 BBCLASSEXTEND = "native"