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>
@@ -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/
@@ -0,0 +1 @@
+import gobject # noqa
@@ -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"]