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>
14 lines
408 B
Python
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
|