diff options
author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:07 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:33 -0800 |
commit | aaa00e26053c756570b6f2678c3d70ba0a8d20e9 (patch) | |
tree | b1e67c3ae3952d4d7c9235e97d0588810e5b4b2c /meta-python/recipes-devtools/python | |
parent | a600e4bb3c7091ca5f172165a0e61f508cb6d8d5 (diff) | |
download | meta-openembedded-aaa00e26053c756570b6f2678c3d70ba0a8d20e9.tar.gz |
python3-html2text: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-html2text/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-python/recipes-devtools/python/python3-html2text/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-html2text/run-ptest +++ b/meta-python/recipes-devtools/python/python3-html2text/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-html2text_2020.1.16.bb b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb index 5b6d040368..d96f61bdc7 100644 --- a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb +++ b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb | |||
@@ -14,7 +14,8 @@ SRC_URI += " \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | RDEPENDS:${PN}-ptest += " \ | 16 | RDEPENDS:${PN}-ptest += " \ |
17 | ${PYTHON_PN}-pytest \ | 17 | python3-pytest \ |
18 | python3-unittest-automake-output \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | RDEPENDS:${PN} += "python3-cgitb" | 21 | RDEPENDS:${PN} += "python3-cgitb" |