python3-unittest-automake-output: add new recipe for ptest integration
PATCH 1/2 python3-unittest-automake-output: add new recipe for ptest integration
From: Ross Burton <[email protected]>
This package contains modules for both unittest and pytest that alter the output to look like automake's 'make check' output, for better integration with ptest.
--- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-unittest-automake-output_0.1.bb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -684,6 +684,7 @@ RECIPE_MAINTAINER:pn-python3-toml = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-tomli = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-typing-extensions = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-typogrify = "Alexander Kanavin <[email protected]>" +RECIPE_MAINTAINER:pn-python3-unittest-automake-output = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-urllib3 = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield <[email protected]>" RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bb new file +13 -0
@@ -0,0 +1,13 @@ +SUMMARY = "Modules to make unittest and pytest look like Automake output, for ptest" +HOMEPAGE = "https://gitlab.com/rossburton/python-unittest-automake-output" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b" + +SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main" +SRCREV = "06537edb18f3641c70bce25256f6ecf5f5164ead" + +S = "${WORKDIR}/git" + +inherit python_flit_core + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH 2/2 python3-unittest-automake-output: upgrade to 0.2
From: Ross Burton <[email protected]>
Specifically this fixes the issue where if a pytest test suite fails during collection then the errors are hidden.
---
...ke-output_0.1.bb => python3-unittest-automake-output_0.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-unittest-automake-output_0.1.bb => python3-unittest-automake-output_0.2.bb} (89%)meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb renamed from meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b" SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main" -SRCREV = "06537edb18f3641c70bce25256f6ecf5f5164ead" +SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65" S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
Sorry, it is outside of stable branch policy to add features so I can't take this patch series.
Steve
Quoted 60 lines · Mingli
From: Ross Burton <[email protected]>
This package contains modules for both unittest and pytest that alter the output to look like automake's 'make check' output, for better integration with ptest.
Signed-off-by Ross Burton <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit 961e4f3fc786715fc136fa446686972a4a95a3d5)Signed-off-by Mingli Yu <[email protected]>--- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-unittest-automake-output_0.1.bb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bbmeta/conf/distro/include/maintainers.inc +1
-0@@ -684,6 +684,7 @@ RECIPE_MAINTAINER:pn-python3-toml = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-tomli = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-typing-extensions = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-typogrify = "Alexander Kanavin <[email protected]>" +RECIPE_MAINTAINER:pn-python3-unittest-automake-output = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-urllib3 = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield <[email protected]>" RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling <[email protected]>"meta/recipes-devtools/python/python3-unittest-automake-output_0.1.bb new file +13
-1@@ -0,0 +1,13 @@ +SUMMARY = "Modules to make unittest and pytest look like Automake output, for ptest" +HOMEPAGE = "https://gitlab.com/rossburton/python-unittest-automake-output" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b" + +SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main" +SRCREV = "06537edb18f3641c70bce25256f6ecf5f5164ead" + +S = "${WORKDIR}/git" + +inherit python_flit_core + +BBCLASSEXTEND = "native nativesdk" --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#197548): https://lists.openembedded.org/g/openembedded-core/message/197548
Mute This Topic: https://lists.openembedded.org/mt/105173226/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-