python3-portion: Fix test_doc.py ptest

Add README.md into ptest package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Derek Straka <derek@asterius.io>
This commit is contained in:
Khem Raj 2025-01-23 20:21:15 -08:00
parent 0f33416ad0
commit 5f95310566
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"