diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-smpplib/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest +++ b/meta-python/recipes-devtools/python/python3-smpplib/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-smpplib_2.2.3.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb index 25f8f6afdd..7979f04c5b 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb | |||
@@ -13,15 +13,16 @@ SRC_URI += " \ | |||
13 | " | 13 | " |
14 | 14 | ||
15 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
16 | ${PYTHON_PN}-logging \ | 16 | python3-logging \ |
17 | ${PYTHON_PN}-six \ | 17 | python3-six \ |
18 | " | 18 | " |
19 | 19 | ||
20 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
21 | ${PYTHON_PN}-pytest \ | 21 | python3-mock \ |
22 | ${PYTHON_PN}-unittest \ | 22 | python3-profile \ |
23 | ${PYTHON_PN}-profile \ | 23 | python3-pytest \ |
24 | ${PYTHON_PN}-mock \ | 24 | python3-unittest \ |
25 | python3-unittest-automake-output \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | do_install_ptest() { | 28 | do_install_ptest() { |