diff options
author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:02 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:32 -0800 |
commit | 3e1caf55ef798c802019a419cd01c2307c077ab3 (patch) | |
tree | 62cb9cb610a9f14a07fb901d0b1edb24790149db | |
parent | 96f5c75219863c9633373b380686afd53eee571b (diff) | |
download | meta-openembedded-3e1caf55ef798c802019a419cd01c2307c077ab3.tar.gz |
python3-scrypt: 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-scrypt/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest +++ b/meta-python/recipes-devtools/python/python3-scrypt/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-scrypt_0.8.20.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb index c386932683..ce0d4de9c4 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb | |||
@@ -14,11 +14,12 @@ 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} += " \ | 21 | RDEPENDS:${PN} += " \ |
21 | ${PYTHON_PN}-ctypes \ | 22 | python3-ctypes \ |
22 | " | 23 | " |
23 | 24 | ||
24 | do_install_ptest() { | 25 | do_install_ptest() { |