diff options
author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:14:58 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:32 -0800 |
commit | 9b8e0ebb590372e33bb8256dcc342bc49f6b06a0 (patch) | |
tree | 5c746e47fd400b5438081519875d101e668edac1 | |
parent | 82561d6a3d48a34b7f58690eb1d313661f78f5fe (diff) | |
download | meta-openembedded-9b8e0ebb590372e33bb8256dcc342bc49f6b06a0.tar.gz |
python3-inotify: 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>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-inotify/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-inotify_git.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-python/recipes-devtools/python/python3-inotify/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-inotify/run-ptest +++ b/meta-python/recipes-devtools/python/python3-inotify/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/SKIPED/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-inotify_git.bb b/meta-python/recipes-devtools/python/python3-inotify_git.bb index 2e189ddace..657f610bdd 100644 --- a/meta-python/recipes-devtools/python/python3-inotify_git.bb +++ b/meta-python/recipes-devtools/python/python3-inotify_git.bb | |||
@@ -26,7 +26,8 @@ RDEPENDS:${PN} += " \ | |||
26 | " | 26 | " |
27 | 27 | ||
28 | RDEPENDS:${PN}-ptest += " \ | 28 | RDEPENDS:${PN}-ptest += " \ |
29 | ${PYTHON_PN}-pytest \ | 29 | python3-pytest \ |
30 | python3-unittest-automake-output \ | ||
30 | " | 31 | " |
31 | 32 | ||
32 | do_install_ptest() { | 33 | do_install_ptest() { |