diff mbox series

[meta-python] python3-portion: Fix test_doc.py ptest

Message ID 20250124042311.567886-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python] python3-portion: Fix test_doc.py ptest | expand

Commit Message

Khem Raj Jan. 24, 2025, 4:23 a.m. UTC
Add README.md into ptest package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Derek Straka <derek@asterius.io>
---
 meta-python/recipes-devtools/python/python3-portion_2.6.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
index 8bdbc032cf..2c2e67579e 100644
--- a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb
@@ -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"