diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial/run-ptest | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | 19 |
2 files changed, 11 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest index e301963f96..b651411db7 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | 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}}' | 4 | pytest --automake |
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index 15646235df..ade137a385 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | |||
| @@ -37,14 +37,14 @@ FILES:${PN}-win32 = " \ | |||
| 37 | " | 37 | " |
| 38 | 38 | ||
| 39 | RDEPENDS:${PN} = "\ | 39 | RDEPENDS:${PN} = "\ |
| 40 | ${PYTHON_PN}-fcntl \ | 40 | python3-fcntl \ |
| 41 | ${PYTHON_PN}-io \ | 41 | python3-io \ |
| 42 | ${PYTHON_PN}-logging \ | 42 | python3-logging \ |
| 43 | ${PYTHON_PN}-netclient \ | 43 | python3-netclient \ |
| 44 | ${PYTHON_PN}-numbers \ | 44 | python3-numbers \ |
| 45 | ${PYTHON_PN}-shell \ | 45 | python3-shell \ |
| 46 | ${PYTHON_PN}-stringold \ | 46 | python3-stringold \ |
| 47 | ${PYTHON_PN}-threading \ | 47 | python3-threading \ |
| 48 | " | 48 | " |
| 49 | 49 | ||
| 50 | BBCLASSEXTEND = "native nativesdk" | 50 | BBCLASSEXTEND = "native nativesdk" |
| @@ -54,7 +54,8 @@ SRC_URI += " \ | |||
| 54 | " | 54 | " |
| 55 | 55 | ||
| 56 | RDEPENDS:${PN}-ptest += " \ | 56 | RDEPENDS:${PN}-ptest += " \ |
| 57 | ${PYTHON_PN}-pytest \ | 57 | python3-pytest \ |
| 58 | python3-unittest-automake-output \ | ||
| 58 | " | 59 | " |
| 59 | 60 | ||
| 60 | do_install_ptest() { | 61 | do_install_ptest() { |
