Files
rpi-buildroot/support/testing/tests/package/test_python_ruamel_yaml.py
Marcus Hoffmann f538c7e6bd package/python-ruamel-yaml-clib: new package
Add optional c extension for python-ruamel-yaml which can speed up yaml
loading/parsing.

Extend the ruamel-yaml runtime test to check if the c extension works
correctly.

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-12 15:17:27 +02:00

14 lines
408 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3RuamelYaml(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_RUAMEL_YAML=y
BR2_PACKAGE_PYTHON_RUAMEL_YAML_CLIB=y
"""
sample_scripts = ["tests/package/sample_python_ruamel_yaml.py"]
timeout = 40