Browse Source

support/testing: add perl-dbd-mysql test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad 6 năm trước cách đây
mục cha
commit
7046c20476
1 tập tin đã thay đổi với 21 bổ sung0 xóa
  1. 21 0
      support/testing/tests/package/test_perl_dbd_mysql.py

+ 21 - 0
support/testing/tests/package/test_perl_dbd_mysql.py

@@ -0,0 +1,21 @@
+from tests.package.test_perl import TestPerlBase
+
+
+class TestPerlDBDmysql(TestPerlBase):
+    """
+    package:
+        DBD-mysql   XS
+    direct dependencies:
+        DBI   XS
+    """
+
+    config = TestPerlBase.config + \
+        """
+        BR2_PACKAGE_PERL=y
+        BR2_PACKAGE_PERL_DBD_MYSQL=y
+        """
+
+    def test_run(self):
+        self.login()
+        self.module_test("DBI")
+        self.module_test("DBD::mysql")