xref: /OK3568_Linux_fs/buildroot/support/testing/tests/package/test_perl_class_load.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1from tests.package.test_perl import TestPerlBase
2
3
4class TestPerlClassLoad(TestPerlBase):
5    """
6    package:
7        Class-Load
8    direct dependencies:
9        Data-OptList
10        Module-Implementation
11        Module-Runtime
12        Package-Stash
13        Try-Tiny
14    indirect dependencies:
15        Dist-CheckConflicts
16        Params-Util   XS
17        Sub-Install
18    """
19
20    config = TestPerlBase.config + \
21        """
22        BR2_PACKAGE_PERL=y
23        BR2_PACKAGE_PERL_CLASS_LOAD=y
24        """
25
26    def test_run(self):
27        self.login()
28        self.module_test("Params::Util")
29        self.module_test("Class::Load")
30