diff options
author | Derek Straka <derek@asterius.io> | 2025-01-17 20:30:29 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:42 -0800 |
commit | 6bf9389c437be4c449a64ca1dbaaaa94441900dd (patch) | |
tree | f5a0c2da4eb8a160129f6dd6a26cbaa66bdf0380 /meta-python | |
parent | 966a1f6f67a728aadcb05dfb67511b197c44006a (diff) | |
download | meta-openembedded-6bf9389c437be4c449a64ca1dbaaaa94441900dd.tar.gz |
python3-precise-runner: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-precise-runner/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb | 16 |
2 files changed, 2 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb index ea453366a6..53fc31ab83 100644 --- a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb | |||
@@ -5,18 +5,6 @@ LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" | 6 | SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" |
7 | 7 | ||
8 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest-python-pytest |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | PTEST_PYTEST_DIR = "test" |
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/test | ||
21 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
22 | } | ||