Skip to contentSkip to conversation

python3-ujson: fix ptests

PATCH In review Trevor Gamblin 2 participants 2 messages May 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 python3-ujson: fix ptests

- Add python3-json and python3-pytest to ptest RDEPENDS
- Correct test file path in run-ptest

---
 meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-ujson/run-ptest +1 -1
index 1b3914647..b1539453a 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-python3 tests/tests.py
+python3 tests/test_ujson.py
meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb +2 -0
index d79206fe6..43f286d16 100644
@@ -20,6 +20,8 @@ RDEPENDS_${PN} += "\
 "
 
 RDEPENDS_${PN}-ptest += " \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-pytest \
     ${PYTHON_PN}-pytz \
 "
 
Signature · 1 line
2.31.1
#1 lore raw
Quoted 2 lines · Trevor Gamblin
meta-python/recipes-devtools/python/https://urldefense.com/v3/__http://python3-ujson_4.0.2.bb__;!!AjveYdw8EvQ!Noe4q3gDBm5wNSPv1Zzd-3WVXg-D4b24UxkEE0vFRw5JdHAeJAendj18feLXLhSGfRassg$    | 2 ++
  2 files changed, 3 insertions(+), 1 deletion(-)

Ugh! Our IT group has stuck a filter in front or our (Wind River's) outgoing email. We're working on getting it removed.

Sorry for the noise.

Signature · 2 lines
# Randy MacLeod
# Wind River Linux