aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2024-02-21 23:25:19 +0000
committerKhem Raj <raj.khem@gmail.com>2024-02-21 20:00:22 -0800
commit1d4abd43a32c8812a3ebefc63702904ba8213f26 (patch)
tree381106d8b960a83716b65217280c7e56724c44e9 /meta-python
parentc2c01199d79b5ad4772274a3fd6d15e170369add (diff)
downloadmeta-openembedded-1d4abd43a32c8812a3ebefc63702904ba8213f26.tar.gz
python3-jdcal: re-add functional ptests
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
-rw-r--r--meta-python/recipes-devtools/python/python3-jdcal/run-ptest2
-rw-r--r--meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb1
3 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index accce5391c..8593b65d79 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 5cec711696..8d2017d39c 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 018a63a5fa..afabe14a8a 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() {