summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2018-11-24 10:07:18 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-03 20:50:25 +0100
commit80196db1f41907d44d00fcb369457adfa6741fae (patch)
treeca4a8ef6206b9b0b0b939042da4b5a8e64ae3b2e
parent78f4fad3cf86283ef55ee6f74ae47fb36b1c40c4 (diff)
downloadbuildroot-80196db1f41907d44d00fcb369457adfa6741fae.tar.gz
buildroot-80196db1f41907d44d00fcb369457adfa6741fae.zip
support/testing: add perl-gdgraph test
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> [https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872330] Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--support/testing/tests/package/test_perl_gdgraph.py22
2 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bd40be67ee..db4b2ef57b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -317,6 +317,7 @@ tests.package.test_ipython.TestIPythonPy2: *runtime_test
tests.package.test_ipython.TestIPythonPy3: *runtime_test
tests.package.test_perl.TestPerl: *runtime_test
tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test
+tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test
tests.package.test_python.TestPython2: *runtime_test
tests.package.test_python.TestPython3: *runtime_test
tests.package.test_python_argh.TestPythonPy2Argh: *runtime_test
diff --git a/support/testing/tests/package/test_perl_gdgraph.py b/support/testing/tests/package/test_perl_gdgraph.py
new file mode 100644
index 0000000000..16cd8cb8ec
--- /dev/null
+++ b/support/testing/tests/package/test_perl_gdgraph.py
@@ -0,0 +1,22 @@
+from tests.package.test_perl import TestPerlBase
+
+
+class TestPerlGDGraph(TestPerlBase):
+ """
+ package:
+ GDGraph
+ direct dependencies:
+ GD
+ GDTextUtil
+ """
+
+ config = TestPerlBase.config + \
+ """
+ BR2_PACKAGE_PERL=y
+ BR2_PACKAGE_PERL_GDGRAPH=y
+ """
+
+ def test_run(self):
+ self.login()
+ self.module_test("GD")
+ self.module_test("GD::Graph")
OpenPOWER on IntegriCloud