From fd0e24694f82b71aa962b276c67ce45835a9cbc0 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 21 Feb 2024 23:25:21 +0000 Subject: [PATCH] python3-parse: re-add functional ptests Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-parse -c testimage Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- 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 --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index b3ceb457d3..c899166a7c 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 40c284799d..8d2017d39c 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 610a966d40..d2b91b3f30 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() {