mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-01 04:00:16 +00:00
python3-ecdsa: deselect test with upstream PEM-fixture bug
test_SigningKey_from_pem_pkcs8v2_EdDSA embeds its PEM fixture as an indented triple-quoted string, but der.unpem() only recognizes "-----BEGIN/END-----" markers with no leading whitespace; the indented END marker gets swallowed into the base64 payload instead of being stripped, so it fails with "Incorrect padding" regardless of environment. Upstream test-authoring bug in 0.19.2, not a packaging issue. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -17,6 +17,8 @@ RDEPENDS:${PN}-ptest += " \
|
||||
do_install_ptest:append () {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/
|
||||
sed -i -e "/--automake/ s/$/ -k 'not test_SigningKey_from_pem_pkcs8v2_EdDSA'/" \
|
||||
${D}${PTEST_PATH}/run-ptest
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
|
||||
Reference in New Issue
Block a user