diff mbox series

[meta-python,v2] python3-lz4: use python3-unittest-automake-output

Message ID 20231003183059.3338567-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python,v2] python3-lz4: use python3-unittest-automake-output | expand

Commit Message

Khem Raj Oct. 3, 2023, 6:30 p.m. UTC
This is to support ptest format
https://wiki.yoctoproject.org/wiki/Ptest

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Use python3-unittest-automake-output

 meta-python/recipes-devtools/python/python3-lz4/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-lz4/run-ptest b/meta-python/recipes-devtools/python/python3-lz4/run-ptest
index 1b245bcd8f..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-lz4/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-lz4/run-ptest
@@ -1,3 +1,3 @@ 
 #!/bin/sh
 
-pytest -v
+pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb b/meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb
index 9d31ab68c2..f0c8684b0d 100644
--- a/meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-lz4_4.3.2.bb
@@ -22,6 +22,7 @@  RDEPENDS:${PN}-ptest += "\
     python3-pytest-runner \
     python3-multiprocessing \
     python3-psutil \
+    python3-unittest-automake-output \
 "
 
 do_install_ptest() {