<filename>buildroot/support/testing/tests/package/test_perl_gdgraph.py
from tests.package.test_perl import TestPerlBase


class TestPerlGDGraph(TestPerlBase):
    """
    package:
        GDGraph
    direct dependencies:
        GD   XS
        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")

<filename>buildroot/support/testing/tests/package/test_perl_gdgraph.py
from tests.package.test_perl import TestPerlBase


class TestPerlGDGraph(TestPerlBase):
    """
    package:
        GDGraph
    direct dependencies:
        GD   XS
        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")

package:         GDGraph     direct dependencies:         GD   XS         GDTextUtil BR2_PACKAGE_PERL=y         BR2_PACKAGE_PERL_GDGRAPH=y