support/testing: add test for python-avro

This adds a test case for python-avro, with a script that
performs a simple deserialization.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Titouan Christophe
2019-12-29 21:29:12 +01:00
committed by Yann E. MORIN
parent 9a6448a859
commit 9fa2add810
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonAvro(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_AVRO=y
"""
sample_scripts = ["tests/package/sample_python_avro.py"]