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:
parent
4a392d1678
commit
600132f8c0
@ -75,6 +75,7 @@ F: package/setools/
|
||||
F: package/sngrep/
|
||||
F: package/spidermonkey/
|
||||
F: package/systemd/
|
||||
F: support/testing/tests/package/test_python_gobject.py
|
||||
|
||||
N: Adam Heinrich <adam@adamh.cz>
|
||||
F: package/jack1/
|
||||
|
1
support/testing/tests/package/sample_python_gobject.py
Normal file
1
support/testing/tests/package/sample_python_gobject.py
Normal file
@ -0,0 +1 @@
|
||||
import gobject # noqa
|
11
support/testing/tests/package/test_python_gobject.py
Normal file
11
support/testing/tests/package/test_python_gobject.py
Normal 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"]
|
Loading…
Reference in New Issue
Block a user