diff mbox series

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

Message ID 20240221232521.2196633-1-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-jdcal -c testimage)

Signed-off-by: Derek Straka <derek@asterius.io>
---
 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(-)
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 accce5391..8593b65d7 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -75,7 +75,6 @@  PTESTS_PROBLEMS_META_PYTHON ="\
     python3-dnspython \
     python3-fastjsonschema \
     python3-gpiod \
-    python3-jdcal \
     python3-jsmin \
     python3-msgpack \
     python3-ordered-set \
diff --git a/meta-python/recipes-devtools/python/python3-jdcal/run-ptest b/meta-python/recipes-devtools/python/python3-jdcal/run-ptest
index 5cec71169..8d2017d39 100644
--- a/meta-python/recipes-devtools/python/python3-jdcal/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-jdcal/run-ptest
@@ -1,3 +1,3 @@ 
 #!/bin/sh
 
-pytest
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
index 018a63a5f..afabe14a8 100644
--- a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
@@ -20,6 +20,7 @@  SRC_URI += " \
 
 RDEPENDS:${PN}-ptest += " \
 	python3-pytest \
+	python3-unittest-automake-output \
 "
 
 do_install_ptest() {