From: Francois Perrad Date: Tue, 4 Dec 2018 04:37:51 +0000 (+0100) Subject: support/testing: add perl-dbd-mysql test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7046c20476db9e3da1f3af8ea4a18765968ca1cf;p=buildroot.git support/testing: add perl-dbd-mysql test Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/support/testing/tests/package/test_perl_dbd_mysql.py b/support/testing/tests/package/test_perl_dbd_mysql.py new file mode 100644 index 0000000000..f8fe832b41 --- /dev/null +++ b/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")