From 7046c20476db9e3da1f3af8ea4a18765968ca1cf Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 4 Dec 2018 05:37:51 +0100 Subject: [PATCH] support/testing: add perl-dbd-mysql test Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- .../tests/package/test_perl_dbd_mysql.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 support/testing/tests/package/test_perl_dbd_mysql.py 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") -- 2.30.2