diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest index b63c4de0d..8d2017d39 100644 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest +++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt/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-requests-toolbelt_1.0.0.bb b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb index 2534c1c62..9cbe4927a 100644 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb | |||
@@ -14,15 +14,16 @@ SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c8 | |||
14 | inherit pypi setuptools3 ptest | 14 | inherit pypi setuptools3 ptest |
15 | 15 | ||
16 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
17 | ${PYTHON_PN}-requests (>=2.0.1) \ | 17 | python3-requests (>=2.0.1) \ |
18 | " | 18 | " |
19 | 19 | ||
20 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
21 | ${PYTHON_PN}-pytest \ | 21 | python3-betamax \ |
22 | ${PYTHON_PN}-betamax \ | 22 | python3-mock \ |
23 | ${PYTHON_PN}-mock \ | 23 | python3-multiprocessing \ |
24 | ${PYTHON_PN}-multiprocessing \ | 24 | python3-pytest \ |
25 | ${PYTHON_PN}-trustme \ | 25 | python3-trustme \ |
26 | python3-unittest-automake-output \ | ||
26 | " | 27 | " |
27 | 28 | ||
28 | do_install_ptest() { | 29 | do_install_ptest() { |