diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyroute2/run-ptest | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest index ea429ba21e..f1c8729f0e 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest | |||
| @@ -1,4 +1,4 @@ | |||
| 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 |
| 4 | 4 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb index 6b340a18ce..740a6d7f73 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb | |||
| @@ -27,9 +27,10 @@ SRC_URI += " \ | |||
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | RDEPENDS:${PN}-ptest += " \ | 29 | RDEPENDS:${PN}-ptest += " \ |
| 30 | python3-pytest \ | ||
| 31 | python3-fcntl \ | 30 | python3-fcntl \ |
| 31 | python3-pytest \ | ||
| 32 | python3-sqlite3 \ | 32 | python3-sqlite3 \ |
| 33 | python3-unittest-automake-output \ | ||
| 33 | " | 34 | " |
| 34 | 35 | ||
| 35 | do_install_ptest() { | 36 | do_install_ptest() { |
