diff mbox series

[meta-python,PATCHv2,3/3] python3-parse: re-add functional ptests

Message ID 20240221232521.2196633-3-derek@asterius.io
State Accepted
Headers show
Series [meta-python,PATCHv2,1/3] python3-jdcal: re-add functional ptests | expand

Commit Message

Derek Straka Feb. 21, 2024, 11:25 p.m. UTC
Verified tests pass with via the test image execution
(bitbake meta-python-image-ptest-python3-parse -c testimage

Signed-off-by: Derek Straka <derek@asterius.io>
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 meta-python/recipes-devtools/python/python3-parse/run-ptest | 3 ++-
 meta-python/recipes-devtools/python/python3-parse_1.20.1.bb | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index b3ceb457d..c899166a7 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -29,6 +29,7 @@  PTESTS_FAST_META_PYTHON = "\
     python3-jsmin \
     python3-msgpack \
     python3-multidict \
+    python3-parse \
     python3-parse-type \
     python3-platformdirs \
     python3-polyline \
@@ -77,7 +78,6 @@  PTESTS_PROBLEMS_META_PYTHON ="\
     python3-gpiod \
     python3-jsmin \
     python3-ordered-set \
-    python3-parse \
     python3-pillow \
     python3-pint \
     python3-pyzmq \
diff --git a/meta-python/recipes-devtools/python/python3-parse/run-ptest b/meta-python/recipes-devtools/python/python3-parse/run-ptest
index 40c284799..8d2017d39 100644
--- a/meta-python/recipes-devtools/python/python3-parse/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-parse/run-ptest
@@ -1,2 +1,3 @@ 
 #!/bin/sh
-pytest
+
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb b/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb
index 610a966d4..d2b91b3f3 100644
--- a/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb
+++ b/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb
@@ -19,6 +19,7 @@  RDEPENDS:${PN} += "\
 
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \
+    python3-unittest-automake-output \
 "
 
 do_install_ptest() {