support/testing: add python-gobject test

Add a simple test case that imports the module.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Adam Duskett
2019-12-01 10:39:09 -08:00
committed by Arnout Vandecappelle (Essensium/Mind)
parent 4a392d1678
commit 600132f8c0
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy2Gobject(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_GOBJECT=y
"""
sample_scripts = ["tests/package/sample_python_gobject.py"]