diff options
author | alperak <alperyasinak1@gmail.com> | 2024-04-11 13:57:01 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-14 08:38:41 -0700 |
commit | 7bd196cbf591244c40854e1eae4c5c751a423675 (patch) | |
tree | 178d9d0291918516d0c9bcb84d26219bf8ec1fbe /meta-python/recipes-devtools/python/python3-flexcache_0.3.bb | |
parent | 99ea4b9ff67697e854195726224b9274da6414da (diff) | |
download | meta-openembedded-7bd196cbf591244c40854e1eae4c5c751a423675.tar.gz |
python3-flexcache: enable ptest
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
=============
qemux86-64:
Testsuite summary
TOTAL: 19
PASS: 19
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END: /usr/lib/python3-flexcache/ptest
2024-04-11T10:48
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 19
PASS: 19
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END: /usr/lib/python3-flexcache/ptest
2024-04-11T10:51
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-flexcache_0.3.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-flexcache_0.3.bb | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb index 509a6a42eb..165783c9f5 100644 --- a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb +++ b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb | |||
@@ -5,6 +5,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" | |||
5 | DEPENDS += "python3-setuptools-scm-native" | 5 | DEPENDS += "python3-setuptools-scm-native" |
6 | SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" | 6 | SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta ptest |
9 | PYPI_PACKAGE = "flexcache" | 9 | PYPI_PACKAGE = "flexcache" |
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-pytest \ | ||
17 | python3-unittest-automake-output \ | ||
18 | " | ||
19 | |||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/testsuite | ||
22 | cp -rf ${S}/flexcache/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
23 | } | ||
24 | |||
10 | RDEPENDS:${PN} = "python3-typing-extensions" | 25 | RDEPENDS:${PN} = "python3-typing-extensions" |