[Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser

François Perrad francois.perrad at gadz.org
Mon Feb 10 16:45:45 UTC 2020


Le lun. 10 févr. 2020 à 11:48, Thomas De Schampheleire <
patrickdepinguin at gmail.com> a écrit :

> From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
>
> This file was created by utils/scancpan while adding other packages but
> apparently not yet added in the repo.
>
>
HTML-Parser is a dependency of libwww-perl,
and already tested by
https://git.busybox.net/buildroot/tree/support/testing/tests/package/test_perl_libwww_perl.py#n39

Someone may think this additional test is redundant.

François


> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> ---
>  .../tests/package/test_perl_html_parser.py    | 20 +++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 support/testing/tests/package/test_perl_html_parser.py
>
> diff --git a/support/testing/tests/package/test_perl_html_parser.py
> b/support/testing/tests/package/test_perl_html_parser.py
> new file mode 100644
> index 0000000000..6431633482
> --- /dev/null
> +++ b/support/testing/tests/package/test_perl_html_parser.py
> @@ -0,0 +1,20 @@
> +from tests.package.test_perl import TestPerlBase
> +
> +
> +class TestPerlHTMLParser(TestPerlBase):
> +    """
> +    package:
> +        HTML-Parser   XS
> +    direct dependencies:
> +        HTML-Tagset
> +    """
> +
> +    config = TestPerlBase.config + \
> +        """
> +        BR2_PACKAGE_PERL=y
> +        BR2_PACKAGE_PERL_HTML_PARSER=y
> +        """
> +
> +    def test_run(self):
> +        self.login()
> +        self.module_test("HTML::Parser")
> --
> 2.24.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200210/2a5b5e74/attachment-0002.html>


More information about the buildroot mailing list