summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.19.1.bb6
2 files changed, 3 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest
index 5cec711696..6abbb5de73 100644
--- a/meta-python/recipes-devtools/python/python3-pint/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pint/run-ptest
@@ -1,3 +1,4 @@
1#!/bin/sh 1#!/bin/sh
2 2
3pytest 3cd /usr/lib/python3*/site-packages/pint
4pytest -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}}'
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb b/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
index e1c471e064..4402908a35 100644
--- a/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
@@ -27,9 +27,5 @@ RDEPENDS:${PN} += " \
27 27
28RDEPENDS:${PN}-ptest += " \ 28RDEPENDS:${PN}-ptest += " \
29 ${PYTHON_PN}-pytest \ 29 ${PYTHON_PN}-pytest \
30 ${PYTHON_PN}-pytest-subtests \
30" 31"
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/testsuite
34 cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
35}