diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' | 3 | pytest --automake |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb index bad3df11ae..e9a9a4fbc5 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb | |||
@@ -15,13 +15,14 @@ SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e" | |||
15 | 15 | ||
16 | inherit setuptools3 ptest | 16 | inherit setuptools3 ptest |
17 | 17 | ||
18 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | 18 | DEPENDS += "python3-setuptools-scm-native" |
19 | 19 | ||
20 | RDEPENDS:${PN} += " \ | 20 | RDEPENDS:${PN} += " \ |
21 | python3-asyncio \ | 21 | python3-asyncio \ |
22 | python3-pytest \ | 22 | python3-pytest \ |
23 | python3-pytest-asyncio \ | 23 | python3-pytest-asyncio \ |
24 | python3-unittest \ | 24 | python3-unittest \ |
25 | python3-unittest-automake-output \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |