Skip to contentSkip to conversation

python3-jdcal: re-add functional ptests

PATCH New Derek Straka 1 participant 3 messages Feb 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 python3-jdcal: re-add functional ptests

Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-jdcal -c testimage)

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 -
 meta-python/recipes-devtools/python/python3-jdcal/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb  | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +0 -1
index accce5391..8593b65d7 100644
@@ -75,7 +75,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-dnspython \
     python3-fastjsonschema \
     python3-gpiod \
-    python3-jdcal \
     python3-jsmin \
     python3-msgpack \
     python3-ordered-set \
meta-python/recipes-devtools/python/python3-jdcal/run-ptest +1 -1
index 5cec71169..8d2017d39 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pytest
+pytest --automake
meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb +1 -0
index 018a63a5f..afabe14a8 100644
@@ -20,6 +20,7 @@ SRC_URI += " \
 
 RDEPENDS:${PN}-ptest += " \
 	python3-pytest \
+	python3-unittest-automake-output \
 "
 
 do_install_ptest() {
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 2/3 python3-msgpack: re-add functional ptests

Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-msgpack -c testimage)

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc   | 1 -
 meta-python/recipes-devtools/python/python3-msgpack/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-msgpack_1.0.7.bb  | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +0 -1
index 8593b65d7..b3ceb457d 100644
@@ -76,7 +76,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-fastjsonschema \
     python3-gpiod \
     python3-jsmin \
-    python3-msgpack \
     python3-ordered-set \
     python3-parse \
     python3-pillow \
meta-python/recipes-devtools/python/python3-msgpack/run-ptest +1 -1
index 5cec71169..8d2017d39 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pytest
+pytest --automake
meta-python/recipes-devtools/python/python3-msgpack_1.0.7.bb +1 -0
index e88532e73..5180301f7 100644
@@ -18,6 +18,7 @@ SRC_URI += " \
 
 RDEPENDS:${PN}-ptest += " \
 	python3-pytest \
+	python3-unittest-automake-output \
 "
 
 do_install_ptest() {
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 3/3 python3-parse: re-add functional ptests

In reply to Derek Straka

Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-parse -c testimage

---
 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(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index b3ceb457d..c899166a7 100644
@@ -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 \
meta-python/recipes-devtools/python/python3-parse/run-ptest +2 -1
index 40c284799..8d2017d39 100644
@@ -1,2 +1,3 @@
 #!/bin/sh
-pytest
+
+pytest --automake
meta-python/recipes-devtools/python/python3-parse_1.20.1.bb +1 -0
index 610a966d4..d2b91b3f3 100644
@@ -19,6 +19,7 @@ RDEPENDS:${PN} += "\
 
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \
+    python3-unittest-automake-output \
 "
 
 do_install_ptest() {
Signature · 1 line
2.34.1