aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2018-12-04 05:37:51 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-06 22:30:30 +0100
commit7046c20476db9e3da1f3af8ea4a18765968ca1cf (patch)
tree10dbb4b29e626747a01e75bc9707c1ef2a8f84dc /support
parent84179d4a04b4d6d26519f756678a609a9a7369ff (diff)
downloadbuildroot-7046c20476db9e3da1f3af8ea4a18765968ca1cf.tar.gz
buildroot-7046c20476db9e3da1f3af8ea4a18765968ca1cf.tar.bz2
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>
Diffstat (limited to 'support')
-rw-r--r--support/testing/tests/package/test_perl_dbd_mysql.py21
1 files changed, 21 insertions, 0 deletions
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")