From 80196db1f41907d44d00fcb369457adfa6741fae Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 24 Nov 2018 10:07:18 +0100 Subject: [PATCH] support/testing: add perl-gdgraph test Signed-off-by: Francois Perrad Reviewed-by: Ricardo Martincoski [https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872330] Tested-by: Ricardo Martincoski Signed-off-by: Thomas Petazzoni --- .gitlab-ci.yml | 1 + .../tests/package/test_perl_gdgraph.py | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 support/testing/tests/package/test_perl_gdgraph.py 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") -- 2.30.2