diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2022-06-13 15:30:56 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-14 10:04:02 +0100 |
| commit | ee0d001b8104419798fc129c3ed9769c98b0832c (patch) | |
| tree | 719bf44a5ab2f2b76afbb317b8398a7de9cc3409 /meta/recipes-devtools/python | |
| parent | 6242e6621ff5c1943467396e528ef00d058127df (diff) | |
| download | poky-ee0d001b8104419798fc129c3ed9769c98b0832c.tar.gz | |
python3-cryptography: remove test_x509.py
We already have removed --benchmark-disable option to avoid
adding python3-pytest-benchmark rdepends.
Also remove the case test_x509.py which needs benchmark feature
to avoid below failure:
file /usr/lib64/python3-cryptography/ptest/tests/bench/test_x509.py, line 9
def test_aki_public_bytes(benchmark):
> fixture 'benchmark' not found
> available fixtures: backend, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, disable_rsa_checks, doctesty
> use 'pytest --fixtures [testpath]' for help on them.
(From OE-Core rev: dd39446dff75c6e48f4aa44ec90087f172d717d4)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cryptography_37.0.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cryptography_37.0.2.bb b/meta/recipes-devtools/python/python3-cryptography_37.0.2.bb index d7a720bf2b..470cf4388c 100644 --- a/meta/recipes-devtools/python/python3-cryptography_37.0.2.bb +++ b/meta/recipes-devtools/python/python3-cryptography_37.0.2.bb | |||
| @@ -104,6 +104,9 @@ do_install_ptest() { | |||
| 104 | install -D ${WORKDIR}/check-memfree.py ${D}${PTEST_PATH}/ | 104 | install -D ${WORKDIR}/check-memfree.py ${D}${PTEST_PATH}/ |
| 105 | install -d ${D}${PTEST_PATH}/tests | 105 | install -d ${D}${PTEST_PATH}/tests |
| 106 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 106 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 107 | # remove test_x509.py as it needs benchmark and we don't | ||
| 108 | # want to introduce the benchmark dependency | ||
| 109 | rm -rf ${D}${PTEST_PATH}/tests/bench/test_x509.py | ||
| 107 | install -d ${D}${PTEST_PATH}/tests/hazmat | 110 | install -d ${D}${PTEST_PATH}/tests/hazmat |
| 108 | cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ | 111 | cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ |
| 109 | cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/ | 112 | cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/ |
