aboutsummaryrefslogtreecommitdiff
path: root/support/testing/tests/package/test_perl_libwww_perl.py
blob: 7b30e4b94ca648f8318da17a559c63dd4cc86bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from tests.package.test_perl import TestPerlBase


class TestPerllibwwwperl(TestPerlBase):
    """
    package:
        libwww-perl
    direct dependencies:
        Encode-Locale
        File-Listing
        HTML-Parser   XS
        HTTP-Cookies
        HTTP-Daemon
        HTTP-Date
        HTTP-Message
        HTTP-Negotiate
        LWP-MediaTypes
        Net-HTTP
        Try-Tiny
        URI
        WWW-RobotRules
    indirect dependencies:
        HTML-Tagset
        IO-HTML
    """

    config = TestPerlBase.config + \
        """
        BR2_PACKAGE_PERL=y
        BR2_PACKAGE_PERL_LIBWWW_PERL=y
        """

    def test_run(self):
        self.login()
        self.module_test("LWP")
        self.module_test("LWP::UserAgent")
        self.module_test("LWP::Authen::Basic")
        self.module_test("LWP::Authen::Digest")
        self.module_test("HTML::Parser")
        self.module_test("HTTP::Message")
        self.module_test("HTTP::Daemon")
        self.module_test("WWW::RobotRules")