support/testing: add perl-class-load test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872329]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2018-11-24 10:07:17 +01:00 committed by Thomas Petazzoni
parent 65a42f26c8
commit 78f4fad3cf
2 changed files with 29 additions and 0 deletions

View File

@ -316,6 +316,7 @@ tests.package.test_dropbear.TestDropbear: *runtime_test
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_python.TestPython2: *runtime_test
tests.package.test_python.TestPython3: *runtime_test
tests.package.test_python_argh.TestPythonPy2Argh: *runtime_test

View File

@ -0,0 +1,28 @@
from tests.package.test_perl import TestPerlBase
class TestPerlClassLoad(TestPerlBase):
"""
package:
Class-Load
direct dependencies:
Data-OptList *
Module-Implementation
Module-Runtime
Package-Stash
Try-Tiny
indirect dependencies:
Dist-CheckConflicts
Params-Util
Sub-Install
"""
config = TestPerlBase.config + \
"""
BR2_PACKAGE_PERL=y
BR2_PACKAGE_PERL_CLASS_LOAD=y
"""
def test_run(self):
self.login()
self.module_test("Class::Load")