Signed-off-by: Derek Straka <[email protected]>
---
 .../python/python3-flexparser/run-ptest          |  3 ---
 .../python/python3-flexparser_0.4.bb             | 16 ++--------------
 2 files changed, 2 insertions(+), 17 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-flexparser/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-flexparser/run-ptest 
b/meta-python/recipes-devtools/python/python3-flexparser/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-flexparser/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb 
b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb
index ef8cbe5a54..c3d8fe28ac 100644
--- a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb
@@ -6,23 +6,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144"
 DEPENDS += "python3-setuptools-scm-native"
 SRC_URI[sha256sum] = 
"266d98905595be2ccc5da964fe0a2c3526fbbffdc45b65b3146d75db992ef6b2"
 
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 PYPI_PACKAGE = "flexparser"
 
-SRC_URI += " \
-       file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-       python3-pytest \
-       python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-       install -d ${D}${PTEST_PATH}/testsuite
-       cp -rf ${S}/flexparser/testsuite/* ${D}${PTEST_PATH}/testsuite/
-}
+PTEST_PYTEST_DIR = "flexparser/testsuite"
 
 RDEPENDS:${PN} += " \
        python3-compression \
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115171): 
https://lists.openembedded.org/g/openembedded-devel/message/115171
Mute This Topic: https://lists.openembedded.org/mt/110905959/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to