support/testing: TestPythonPy3Cryptography: use python base configuration

The base configuration now provide a glibc toolchain,
we can safely switch to it.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2023-06-09 01:28:55 +02:00 committed by Thomas Petazzoni
parent 1dd1a8c5cc
commit f2652461c6

View File

@ -3,14 +3,8 @@ from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Cryptography(TestPythonPackageBase):
__test__ = True
# Need to use a different toolchain than the default due to
# python-cryptography using Rust (not available with uclibc)
config = \
config = TestPythonPackageBase.config + \
"""
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y
BR2_TARGET_ROOTFS_CPIO=y