aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2018-11-24 10:07:19 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-03 20:50:40 +0100
commit1ac4178f2f631dfaed782fe436401005bb4404de (patch)
treeb67513ee2a2a0d1f63dcb2e682a20b9897c8f760 /support
parent80196db1f41907d44d00fcb369457adfa6741fae (diff)
downloadbuildroot-1ac4178f2f631dfaed782fe436401005bb4404de.tar.gz
buildroot-1ac4178f2f631dfaed782fe436401005bb4404de.tar.bz2
support/testing: add perl-libwww-perl test
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> [https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872332] Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support')
-rw-r--r--support/testing/tests/package/test_perl_libwww_perl.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/support/testing/tests/package/test_perl_libwww_perl.py b/support/testing/tests/package/test_perl_libwww_perl.py
new file mode 100644
index 0000000000..e777071bb5
--- /dev/null
+++ b/support/testing/tests/package/test_perl_libwww_perl.py
@@ -0,0 +1,41 @@
+from tests.package.test_perl import TestPerlBase
+
+
+class TestPerllibwwwperl(TestPerlBase):
+ """
+ package:
+ libwww-perl
+ direct dependencies:
+ Encode-Locale
+ File-Listing
+ HTML-Parser
+ 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("HTTP::Message")
+ self.module_test("HTTP::Daemon")
+ self.module_test("WWW::RobotRules")