From patchwork Wed Nov 21 19:58:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001390 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JYq9Ao97"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLM30V9z9s1x for ; Thu, 22 Nov 2018 06:59:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 755F586E68; Wed, 21 Nov 2018 19:59:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cmfsf0kvTnUD; Wed, 21 Nov 2018 19:59:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4C5C4872FB; Wed, 21 Nov 2018 19:59:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7A81C1C2B56 for ; Wed, 21 Nov 2018 19:58:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7761E8758D for ; Wed, 21 Nov 2018 19:58:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gB8O1GYH0MH9 for ; Wed, 21 Nov 2018 19:58:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9247486E18 for ; Wed, 21 Nov 2018 19:58:57 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id x10so6966916wrs.8 for ; Wed, 21 Nov 2018 11:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sC3XeKVgrvf9nD6J20Oh1F/EfR765CF9BqkjUQoe/gE=; b=JYq9Ao97z0tw0eFJUrGhS2fVcql4Q+ke2ANm89nsPsJdmctZXoAVxm1splHegrXczn omKFIsN0YDhIT0IeKoMaeemFJT8J9pjjs0D9LCNOwf4Kas7V7bGoOC5a7hS3mRf5QDdp /5deTXJeqAPM2wi40Lj9beOH5Gwejp8HJegS32P14sBHtXOGurC2iynbIWgftdWyrR1y Atlm40FePhXJbcxpx3zkCVfqSRlNxQcu4xYfvePmu1K5BfYXt+3rj6AY1QlvTl0yU73G vWXExgCKwU9NAp8RO/4GjHRV1q90AWNIL3pLY70jmQfzSC4N6saOtks+aIBfhyYjIe1l alaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sC3XeKVgrvf9nD6J20Oh1F/EfR765CF9BqkjUQoe/gE=; b=Sc+smUGmcaWeJkP9TutBHtZxuR/ZY05MAb3zzcMjpxtQwZ8y/GeCLCaDPzUWAH5QIN qM6LOCf9V7K/qIecqYa2dYi9kzoWvsZshPTWXTrxPbDSrl0U53CVKTMhF8whm9EPfgPE C104aQSrrWhQPmQej/1VvFwYCb4TMUTBaYWM6pYokn0qwTOb+6wHyw6a3dvlFiMtqgMg hjRfkIOruPoUN9BoPLhZfwtQcC0X9ApGe/5HNroQ3F7gHbBwl8DANpb7iZkAUK1OFZKI WqcZXhrmalkOoqszjxGTcwhg+bQLiAxQ4r6JXdadjy/aAHgdvnSZWf4IfeCrXh5HocsB 87NA== X-Gm-Message-State: AA+aEWapX1D0BVOK9mUXKAVYpGA0jTsCI9NVq4xrrj4QkI3i3xj7ux6O NvnzRonS++IYJqpgkfI9GGZPwP81 X-Google-Smtp-Source: AFSGD/Wqo5VETNhgzgwXFP6diYQFPDUS5A3JRSNgKkSPNUo+lvwf5SCn79YS2p8TkEhCIT6CIUcw8Q== X-Received: by 2002:adf:9c8a:: with SMTP id d10mr6906314wre.244.1542830335901; Wed, 21 Nov 2018 11:58:55 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.58.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:58:55 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:15 +0100 Message-Id: <20181121195822.15379-2-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 1/8] support/testing: add perl test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + support/testing/tests/package/test_perl.py | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 support/testing/tests/package/test_perl.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dfb3537c..ae5d57026 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -312,6 +312,7 @@ tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test tests.package.test_dropbear.TestDropbear: *runtime_test tests.package.test_ipython.TestIPythonPy2: *runtime_test tests.package.test_ipython.TestIPythonPy3: *runtime_test +tests.package.test_perl.TestPerl: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test diff --git a/support/testing/tests/package/test_perl.py b/support/testing/tests/package/test_perl.py new file mode 100644 index 000000000..c6b045ee1 --- /dev/null +++ b/support/testing/tests/package/test_perl.py @@ -0,0 +1,59 @@ +import os + +import infra.basetest + + +class TestPerl(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_PACKAGE_PERL=y + """ + + def login(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + def version_test(self): + cmd = "perl -v" + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + + def module_test(self, module, script="1"): + cmd = "perl -M{} -e '{}'".format(module, script) + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + + def core_modules_test(self): + self.module_test("Cwd") + self.module_test("Data::Dumper") + self.module_test("Devel::Peek") + self.module_test("Digest::MD5") + self.module_test("Digest::SHA") + self.module_test("Encode") + self.module_test("Fcntl") + self.module_test("File::Glob") + self.module_test("Hash::Util") + self.module_test("I18N::Langinfo") + self.module_test("IO") + self.module_test("IPC::SysV") + self.module_test("List::Util") + self.module_test("MIME::Base64") + self.module_test("POSIX") + self.module_test("Socket") + self.module_test("Storable") + self.module_test("Sys::Hostname") + self.module_test("Sys::Syslog") + self.module_test("Time::HiRes") + self.module_test("Time::Piece") + self.module_test("Unicode::Collate") + self.module_test("Unicode::Normalize") + + def test_run(self): + self.login() + self.version_test() + self.core_modules_test() From patchwork Wed Nov 21 19:58:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001391 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fVHLNuCL"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLP4mhXz9s3l for ; Thu, 22 Nov 2018 06:59:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9FF678884A; Wed, 21 Nov 2018 19:59:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44HVTbNsKHQ7; Wed, 21 Nov 2018 19:59:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E1E1D88852; Wed, 21 Nov 2018 19:59:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D8E6C1C2B56 for ; Wed, 21 Nov 2018 19:59:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D5A99872FB for ; Wed, 21 Nov 2018 19:59:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e2b1dgVlncLy for ; Wed, 21 Nov 2018 19:58:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id D454086E68 for ; Wed, 21 Nov 2018 19:58:58 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id 96so6990764wrb.2 for ; Wed, 21 Nov 2018 11:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QtDIYDAp4YN4xUmBGim43iIe0j04RiGL/2Ui1dGpWb4=; b=fVHLNuCLQwBzOFzhc0n+3vdoO7A56Pnxf2MPw75RjQkBnzZqAF/9xc4fcUxMC7Rh3x l0QNXgNoPsWH/AQsfKbkoAcxXubd6O0F79DfAZqVH5yA7QeyFH1gU1n9A3mK1VipGpi8 FhlQN4lJXItfhphhKOmAWAHsEbBa63tUqXFmtVdMnCV3Jm9boFSAOzwX7oRUdDSc9Ax+ kwoIaT8yIx7H95vCjqUTxB4Tci1eRTXkUy9ZMKzIPFYlYt4Niwk6EsJ/CX9XDlWsVksI ZjKp6puniwttTlviWiI+fa9RzCCRa3NBxvTN4cshypDjUePDllro0APuAIN0BKupeWHY m9Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QtDIYDAp4YN4xUmBGim43iIe0j04RiGL/2Ui1dGpWb4=; b=BUvh677V3THVfBpWNFaT98yd9uuxkIpmTBwJMaL4E1M/KohZ8j3jzGtDYiicPVH6R7 WuM0E5JnVtDU90kZ+siOJWy3aMJWbu0au9Fypudqt2Km+pzQg5atGLY4FntLI68S8DVE 9+T4ts9/910uPdoWGeA04yXGl4w9qUTm4puhDbYrKcjpBmNAsbRKJ1D7ofyxpEm7HV5l ZF/s/dHJstw+LhjMkeX9zQqsTPQn9i43A657U4t/uHtBBhrfqljfguNygxOoUelvNihx C/QpvSRq3J+WZGEvomCwlsIaAF88z8WqEqzrARG437zl+0dYvBfBn4p4XkorJTQqnbBQ t/Gw== X-Gm-Message-State: AA+aEWakSxMF4kqRcHrQrNGWGMn38qZmB9xvxHQIIaDvyaXgX8z7r8Px n3hlG+/HEKMiQHoz0n3XgDVngyHN X-Google-Smtp-Source: AFSGD/XkEpge6hcFIv50j5lsBt7e+w0Ic6khWUVsjnV6S5iFJ2DSZhbuNcLXYucDfYIAUBee8QVQpw== X-Received: by 2002:a5d:60cc:: with SMTP id x12mr6839028wrt.193.1542830337190; Wed, 21 Nov 2018 11:58:57 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.58.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:58:56 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:16 +0100 Message-Id: <20181121195822.15379-3-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 2/8] scancpan: add generation of test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- utils/scancpan | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/utils/scancpan b/utils/scancpan index 78ea08c6e..0c5d6ac7a 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -575,6 +575,32 @@ sub find_license_files { return @license_files; } +sub want_test { + my ($distname) = @_; + return 1 if $need_dlopen{$distname} && scalar @{$deps_runtime{$distname}} > 1; +} + +sub get_dependencies { + my ($distname) = @_; + my %dep = map { $_ => 1 } @{$deps_runtime{$distname}}; + for my $direct (@{$deps_runtime{$distname}}) { + for (get_dependencies( $direct )) { + $dep{$_} = 1; + } + } + return keys %dep; +} + +sub get_indirect_dependencies { + my ($distname) = @_; + my %indirect; + my %direct = map { $_ => 1 } @{$deps_runtime{$distname}}; + for my $dep (get_dependencies( $distname )) { + $indirect{$dep} = 1 unless exists $direct{$dep}; + } + return keys %indirect; +} + sub fetch { my ($name, $need_target, $need_host, $top) = @_; $need_target{$name} = $need_target if $need_target; @@ -688,6 +714,7 @@ while (my ($distname, $dist) = each %dist) { my $mkname = $dirname . q{/} . $fsname . q{.mk}; my $hashname = $dirname . q{/} . $fsname . q{.hash}; my $brname = brname( $fsname ); + my $testname = q{support/testing/tests/package/test_} . lc $brname . q{.py}; unless (-d $dirname) { mkdir $dirname; $new_pkgs = 1; @@ -779,6 +806,45 @@ while (my ($distname, $dist) = each %dist) { } close $fh; } + if (want_test( $distname ) && ($force || !-f $testname)) { + my $classname = $distname; + $classname =~ s|-||g; + my $modname = $distname; + $modname =~ s|-|::|g; + my @indirect = (get_indirect_dependencies( $distname )); + say qq{write ${testname}} unless $quiet; + open my $fh, q{>}, $testname; + say {$fh} qq{from tests.package.test_perl import TestPerl}; + say {$fh} qq{}; + say {$fh} qq{}; + say {$fh} qq{class TestPerl${classname}(TestPerl):}; + say {$fh} qq{ """}; + say {$fh} qq{ package:}; + say {$fh} qq{ ${distname}}; + say {$fh} qq{ direct dependencies:}; + foreach my $dep (sort @{$deps_runtime{$distname}}) { + my $mark = want_test( $dep ) ? q{ *} : q{}; + say {$fh} qq{ ${dep}${mark}}; + } + if (scalar @indirect > 0) { + say {$fh} qq{ indirect dependencies:}; + foreach my $dep (sort @indirect) { + my $mark = want_test( $dep ) ? q{ *} : q{}; + say {$fh} qq{ ${dep}${mark}}; + } + } + say {$fh} qq{ """}; + say {$fh} qq{}; + say {$fh} qq{ config = TestPerl.config + \\}; + say {$fh} qq{ """}; + say {$fh} qq{ BR2_PACKAGE_${brname}=y}; + say {$fh} qq{ """}; + say {$fh} qq{}; + say {$fh} qq{ def test_run(self):}; + say {$fh} qq{ self.login()}; + say {$fh} qq{ self.module_test("${modname}")}; + close $fh; + } } if ($new_pkgs) { From patchwork Wed Nov 21 19:58:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001393 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="B2OimXIF"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLV6sfkz9s3l for ; Thu, 22 Nov 2018 06:59:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2699E879A3; Wed, 21 Nov 2018 19:59:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VasqUkOrBpNi; Wed, 21 Nov 2018 19:59:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 254F1875A4; Wed, 21 Nov 2018 19:59:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9CBF81C2B56 for ; Wed, 21 Nov 2018 19:59:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A0E0872FB for ; Wed, 21 Nov 2018 19:59:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7WWfmVlGIfBJ for ; Wed, 21 Nov 2018 19:59:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id DF4798758D for ; Wed, 21 Nov 2018 19:58:59 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id l9so6954401wrt.13 for ; Wed, 21 Nov 2018 11:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4e1llBExV1hZLYhkEPFPf8JKtGv1QGT4h22aFPgpJ7Q=; b=B2OimXIFoZ5LgNKjGEjNpLnld/pMu6RZBmUd5Vr2B27Sr+I6hUfcFZHlIlML+p88rU /OttHGnUS43YC9IxOQE4hOxx/egSewK8lUxmq7DN3quGe3TaPU3/VIjNHuzHPvNBQ3qs 6HEK9O5nFh5kpDtUYDg0EopFpHq1uZVd2vMbUoAz0gdVAwA+bcaK7z2+qcdm5jjRfc4M Bno0mVu4YvHGvhsbYQeZJ8OAqgHqjLdNYQPL618X6qppoWfYJLiKSzrocP9vlkPoQ79P B1KO6Q3ed8H/C/LyD6SC/aX3XlH705REA7CTfshG9SL4J4xGaRo/SYiIECw41Jn/sZ+P hkTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4e1llBExV1hZLYhkEPFPf8JKtGv1QGT4h22aFPgpJ7Q=; b=QTXDlC/4c/eBRfG1MMwoUW9t2/t5mAOJpFWCLAg3teN2XiBCpF7zYzLhlBPmAxrzqt W/TdR5tqmu2M6cAIUX8WJhtRi+NVg+gf6VcB1k8akzy0cPd0vzUMQ4SzsZz259YwMwIy AqiZ+rrSxi0Mq5vW+YpQT9Ur8HTUL7AeZZbeVqTX9nIMbvKQri75wR6STfpRGseV8waa EY5wEC7X7cNMQYZOni+ANinLEd9kokHiH3MbZWfB70YuVgxj8ShUUG6fXFTfOZ7LijkT 0maKTHzAeLwpSjOErgU5bb1zWEm5hxjm16Bph4O0zeCjAyWsffUI+b7Lp3foFcr0jZ8W Knmg== X-Gm-Message-State: AA+aEWYeR57kHGmrj/qpWN1evrPtHLFWl5kzc6HOOnWHRQuNfrnq3avP TAVa+Mf5eIn+dXKDLt4+RZPa+Qdk X-Google-Smtp-Source: AFSGD/UqqI3WBfx+gKu8PDY4a5/Qu3A5zr19yqoiLCAsZwroLMPdkQoVZlaqYW2Beuck9SrAZvN9Ig== X-Received: by 2002:a5d:4d11:: with SMTP id z17mr6859884wrt.209.1542830338271; Wed, 21 Nov 2018 11:58:58 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.58.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:58:57 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:17 +0100 Message-Id: <20181121195822.15379-4-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 3/8] support/testing: add perl-class-load test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + .../tests/package/test_perl_class_load.py | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 support/testing/tests/package/test_perl_class_load.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae5d57026..16eb134c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -313,6 +313,7 @@ tests.package.test_dropbear.TestDropbear: *runtime_test tests.package.test_ipython.TestIPythonPy2: *runtime_test tests.package.test_ipython.TestIPythonPy3: *runtime_test tests.package.test_perl.TestPerl: *runtime_test +tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test diff --git a/support/testing/tests/package/test_perl_class_load.py b/support/testing/tests/package/test_perl_class_load.py new file mode 100644 index 000000000..488719482 --- /dev/null +++ b/support/testing/tests/package/test_perl_class_load.py @@ -0,0 +1,27 @@ +from tests.package.test_perl import TestPerl + + +class TestPerlClassLoad(TestPerl): + """ + package: + Class-Load + direct dependencies: + Data-OptList * + Module-Implementation + Module-Runtime + Package-Stash + Try-Tiny + indirect dependencies: + Dist-CheckConflicts + Params-Util + Sub-Install + """ + + config = TestPerl.config + \ + """ + BR2_PACKAGE_PERL_CLASS_LOAD=y + """ + + def test_run(self): + self.login() + self.module_test("Class::Load") From patchwork Wed Nov 21 19:58:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001392 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QIaMUh5k"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLV2Jq3z9s1x for ; Thu, 22 Nov 2018 06:59:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C8801859B6; Wed, 21 Nov 2018 19:59:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WZ9FRLY-DPP2; Wed, 21 Nov 2018 19:59:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B0A0487465; Wed, 21 Nov 2018 19:59:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4AA471BF279 for ; Wed, 21 Nov 2018 19:59:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 47E44872FB for ; Wed, 21 Nov 2018 19:59:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pKJZJgXcpIrg for ; Wed, 21 Nov 2018 19:59:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 48B8286E68 for ; Wed, 21 Nov 2018 19:59:01 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id s11so7006086wmh.1 for ; Wed, 21 Nov 2018 11:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bQiT2IM17DLtrWmRvBbKasMVKpzoJJWeStYK2X9ugjg=; b=QIaMUh5kdGMl4KH9hJ6goV/8kLEONh0nNlnLGL7425jCFZgWSRQos4pNUa2n+XVdaJ 2uwrJeweqNniQ1pj+I2vhqTIUqQoCIGDUhdchVqtEwENqm1uwrZzB3N2ni2BM8FP7jIm xtLNs1Di1A4h4sdIKo+dW51DSJu3p7a61C8Yq5xHePBICTxCqZCqfj1H/hbKKyliZA/p AZMB7rw8TBdJlo5wjYc63jUSocp0Q8VKVCL0jyhMtLFpQPkCuyk5g2bZsLbAlVjw6IFR sgG6EgMSt1dfGy62VB77PqXi6mksLkO2k3p4CKc3mH0y+mtd1I+de6jbU9f740/P3CT8 i0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bQiT2IM17DLtrWmRvBbKasMVKpzoJJWeStYK2X9ugjg=; b=pH/Sl2NIa2Va6A/627Z1HAXgM+2psBoRBDs4xAJg8Hg/dN2tDEd88ZBz7uoJkm3vK/ lmfk2THSunynprgkaKCPnMpiCRKz4w9vVJbURjZnUoL3gACH+c1Bs8GUSYFEWRHUkWBS bopb/rXhwj+8Ovf/v+eykRiPuhMhCkujHXNKSRC9/D68l5P74GXWgbzuwvVBFcdDibYL Vni1tmeko3Syp1Ixo9I7EL99nml+RUfGgecdQJYdv+/iwEEhLKqy4sUu/GLn6eZNlyIS Js6orxYRpl1OWtSdxBI4YWjGHjXWVhXf/9koEUO/L57EK9geFB1SjLDINk9F0CYB7yFJ YCAA== X-Gm-Message-State: AA+aEWYe1SGky4BY34xCZCBAa/aFtpsiPOPVevuXhIfmRyuOFjW9ZoYj ZnAvleQXa2MlQoUkEJl82rQo9XLX X-Google-Smtp-Source: AFSGD/UOg7k/DIHBobdmGjoHyRDBGwSPi+vPhx3+uD6hulCWem74Lnjujx4Mrw4QsNfVAybEQj6SvA== X-Received: by 2002:a7b:c34b:: with SMTP id l11mr7517986wmj.30.1542830339565; Wed, 21 Nov 2018 11:58:59 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.58.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:58:58 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:18 +0100 Message-Id: <20181121195822.15379-5-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 4/8] support/testing: add perl-gdgraph test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + .../tests/package/test_perl_gdgraph.py | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 support/testing/tests/package/test_perl_gdgraph.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16eb134c3..fd3724178 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -314,6 +314,7 @@ tests.package.test_ipython.TestIPythonPy2: *runtime_test tests.package.test_ipython.TestIPythonPy3: *runtime_test tests.package.test_perl.TestPerl: *runtime_test tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test +tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test diff --git a/support/testing/tests/package/test_perl_gdgraph.py b/support/testing/tests/package/test_perl_gdgraph.py new file mode 100644 index 000000000..07b0e2f56 --- /dev/null +++ b/support/testing/tests/package/test_perl_gdgraph.py @@ -0,0 +1,21 @@ +from tests.package.test_perl import TestPerl + + +class TestPerlGDGraph(TestPerl): + """ + package: + GDGraph + direct dependencies: + GD + GDTextUtil + """ + + config = TestPerl.config + \ + """ + BR2_PACKAGE_PERL_GDGRAPH=y + """ + + def test_run(self): + self.login() + self.module_test("GD") + self.module_test("GD::Graph") From patchwork Wed Nov 21 19:58:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001394 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="r9jaQ1VV"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLW1TLqz9s3q for ; Thu, 22 Nov 2018 06:59:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9FF3388912; Wed, 21 Nov 2018 19:59:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hOsOp18cJ3FJ; Wed, 21 Nov 2018 19:59:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9145E8887B; Wed, 21 Nov 2018 19:59:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5435B1BF279 for ; Wed, 21 Nov 2018 19:59:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4FFAA87691 for ; Wed, 21 Nov 2018 19:59:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bIvgVQwpreIh for ; Wed, 21 Nov 2018 19:59:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 60D5C86E68 for ; Wed, 21 Nov 2018 19:59:02 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id l9so6954485wrt.13 for ; Wed, 21 Nov 2018 11:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yqERhr/ymAnru6W+ufSQBz5YtnxC61p100vcJi0MASM=; b=r9jaQ1VVAN2xgR2X7gQDd9sT7xwR5eWFr/XH/zBFvlGU6RQx0VCXyqyYA77SerrWBd AoHyno8YpAmbW1tJYtAIh0h20KC95bkxhDpF4Fzg0AqqIISn6OoMvpIYliSIe0e0pXAb RMPEd6C9Hc0QwUSXCrJtQj5SRcC3GWRQVFLBEEFPPiXNl9UQYHo+e9V2Dzt0Bvx2nq6x xLoniEQSvXl6DRm7vSStVj9YMSLYROwzzHNft9IelNX8FXHiLHuewLrDjczOqYu5y5aK FRudFhc+2USmtxC6KJ900fWPSUv2mzbPqWdWTLDhR0aEQBnY4r1v5w8tHr1CkvmEvVz8 8uAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yqERhr/ymAnru6W+ufSQBz5YtnxC61p100vcJi0MASM=; b=lCMyHu6PmMIJURkqNXENOQ1jgfM74WM2KgESU0xNmFre8N4Ic0nE/Mg/BqmJIKe4an 3I00m7imSJNKxnBLAvbI9z341SQMcCtsY3e23P4JZAvImrxxeHKq4zEZ/hIKiQnc9X5l jw4Y85MZ5gMmqo4Cg2Z5BUxJ769AYEm78TDQoIgJgYktkUeJ8RfX+WAWQy914QAgUoG8 hRdlYO84kmFWIGwWXbTNOm6pNrFQKfqr7gxPfQ2pQE+aAJh5h8JYHa+oqK4+/6dZ4Y+O /LLOAWCgG6K0NtVy+2/UjfBCPwLhNgCdpzHJLaaqul3hzQ2CrDvFtj0NbGmRgx0KL8F3 sCjA== X-Gm-Message-State: AA+aEWbbEYBW8wVNORJJ7N8ZTo1Jg/iJIJyq8fBSyD+FHIRmI7DlGBXN mRsH/SNpLS2iouwYxLVaOLgfk9CQ X-Google-Smtp-Source: AFSGD/X1DBERANlyc3zzymWUg8Y5NLlS9R1/IqHTcWAjDbYvTPLI3tu2p9Vrj5cQAhbtlXxXqMvrgA== X-Received: by 2002:adf:e9d1:: with SMTP id l17mr6723031wrn.73.1542830340737; Wed, 21 Nov 2018 11:59:00 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.58.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:59:00 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:19 +0100 Message-Id: <20181121195822.15379-6-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 5/8] support/testing: add perl-libwww-perl test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + .../tests/package/test_perl_libwww_perl.py | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 support/testing/tests/package/test_perl_libwww_perl.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd3724178..08772cca7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -315,6 +315,7 @@ tests.package.test_ipython.TestIPythonPy3: *runtime_test tests.package.test_perl.TestPerl: *runtime_test tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test +tests.package.test_perl_libwww_perl.TestPerllibwwwperl: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test 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 000000000..f55be2bb5 --- /dev/null +++ b/support/testing/tests/package/test_perl_libwww_perl.py @@ -0,0 +1,40 @@ +from tests.package.test_perl import TestPerl + + +class TestPerllibwwwperl(TestPerl): + """ + 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 = TestPerl.config + \ + """ + 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") From patchwork Wed Nov 21 19:58:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001395 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lelUDgkm"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLZ5TXBz9s1x for ; Thu, 22 Nov 2018 06:59:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 39FC530948; Wed, 21 Nov 2018 19:59:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I9nrjiZJPNQL; Wed, 21 Nov 2018 19:59:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4ED7E3094C; Wed, 21 Nov 2018 19:59:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 892F91BF279 for ; Wed, 21 Nov 2018 19:59:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 812B288331 for ; Wed, 21 Nov 2018 19:59:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BiQULKAqVVPg for ; Wed, 21 Nov 2018 19:59:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6A2F887593 for ; Wed, 21 Nov 2018 19:59:03 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id k198so7004143wmd.3 for ; Wed, 21 Nov 2018 11:59:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o/7qo0T1+No9Wq0Xsu7FX7bqO5hofw91wG94yi0lJ5c=; b=lelUDgkmsQMR7KzCCahwB3Tw/qU9LlElcKPKGn6taf0wtD3+o3nqNyrVN4i1cbn9lo KSSHFSaI2pRmM/vj8MiC8/vnAe+o4bJOf8GjIHEuNgFnxmOsJTVRgPlbpm/OlRN/6H89 QZFJrK1KWLWqWw9doYbdiNXg7TKbK38KOJJWUIUxDZ9qltSYzzufTsJufxRdmfPPU1rr XKpKvdeng6bZSohiAIBw1DE4Y02taYstd3dZjQwVyuQ/lVDKRPZSSNHyTuovolWHUiLn 5ZfN4NxK8eCRNxfhqb1/e1an9qHpXxZJAix+stvgduoUjjLUDX0u5QsWHUowstdAisA9 sVTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o/7qo0T1+No9Wq0Xsu7FX7bqO5hofw91wG94yi0lJ5c=; b=tHUmINl9awUIH3T8cc6LjkXxG2fxIXkWxP95X2z6lpeRYXTip0GfPqaOcm0RJOtVoV 06BwSIpr+2ZX0usHxn2jTlCdxaXG8CX7uQYENxIEJxhQs0xG3rlUjWjzhZTkLTlmI4Hx Ic6Ckyav/OkLkubtJetX630qDWfK6+7AWZt3vLkj3MZZOv/A4CusPTDY/KmIDP7Xx1An e1GFWti8r3/eX04gYaxEuaICQLWv14vSYsCVcFiU5Rugl2Ihoi9gmbD3H1GOGv3+PBls neAur5XRPH5v8brjiJ7z5Z59PRCLE74YXZilSysVu3dkg6e1U3OgDhVPOirwjydcxS9u BU3Q== X-Gm-Message-State: AGRZ1gK1Y4Issd3+KtPZQdRRMroUhJCIRBaOwczfGmIHNK6z7duUISay nyJ//rkx3dvyGYfS8E9D9LHwvYkv X-Google-Smtp-Source: AJdET5d0LcTQcjkZzZySj8I+NAJ9Rv1vlGL68By75n60Q/Mazz8OhvK+8JbfLY71hytIjc+JW9Sa+w== X-Received: by 2002:a1c:7cc:: with SMTP id 195-v6mr7299184wmh.139.1542830341808; Wed, 21 Nov 2018 11:59:01 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.59.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:59:01 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:20 +0100 Message-Id: <20181121195822.15379-7-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 6/8] support/testing: add perl-mail-dkim test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + .../tests/package/test_perl_mail_dkim.py | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 support/testing/tests/package/test_perl_mail_dkim.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08772cca7..667483c01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -316,6 +316,7 @@ tests.package.test_perl.TestPerl: *runtime_test tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test tests.package.test_perl_libwww_perl.TestPerllibwwwperl: *runtime_test +tests.package.test_perl_mail_dkim.TestPerlMailDKIM: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test diff --git a/support/testing/tests/package/test_perl_mail_dkim.py b/support/testing/tests/package/test_perl_mail_dkim.py new file mode 100644 index 000000000..a19304613 --- /dev/null +++ b/support/testing/tests/package/test_perl_mail_dkim.py @@ -0,0 +1,27 @@ +from tests.package.test_perl import TestPerl + + +class TestPerlMailDKIM(TestPerl): + """ + package: + Mail-DKIM + direct dependencies: + Crypt-OpenSSL-RSA + MailTools + Net-DNS + Net-DNS-Resolver-Mock + YAML-LibYAML + indirect dependencies: + Crypt-OpenSSL-Random + Digest-HMAC + TimeDate + """ + + config = TestPerl.config + \ + """ + BR2_PACKAGE_PERL_MAIL_DKIM=y + """ + + def test_run(self): + self.login() + self.module_test("Mail::DKIM") From patchwork Wed Nov 21 19:58:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001396 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="E31ZJn/u"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLb0mk2z9s3l for ; Thu, 22 Nov 2018 06:59:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7C0468667B; Wed, 21 Nov 2018 19:59:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4kkXjfC-PwPB; Wed, 21 Nov 2018 19:59:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id F0DFF863BB; Wed, 21 Nov 2018 19:59:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DCF691BF279 for ; Wed, 21 Nov 2018 19:59:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D86E587F8C for ; Wed, 21 Nov 2018 19:59:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jjoRKZVw4Q1k for ; Wed, 21 Nov 2018 19:59:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9360087691 for ; Wed, 21 Nov 2018 19:59:04 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id j10so6968885wru.4 for ; Wed, 21 Nov 2018 11:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pPTbSwuJ1NqpfiF+/Xeaq8GcsblQdpmREEcBDWnQu70=; b=E31ZJn/u60MCUWoTi3RNvoJzr80XR5880JY5aqqKd/fmenO1d2VYfR+nMsBJsiSjno cmRrUEF81bSB4I8Gpe7+uYuw5lK6nuE5NPzyK7YnFBVmjBCEZMvowHwI39QnJZotY01v +vQg4sLdrFYcxKTlYetqVz/xHzMkEH2iLbX0izkP3XTyHcdZu1SH0cz0GaOQjgx/NBmi eNK7dwRSrBqZav9d1aWGo8PSl0QkUMrcZTmqy+3zOa2DODR2dM3Z8EsslBtyfAlixHCB 34RhYtIJCJXMCqJnOeKalgi8aRT7lPKZbsS+rRLZCLpe9TderFG9t3GifVCh5IdpTEDO NbAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pPTbSwuJ1NqpfiF+/Xeaq8GcsblQdpmREEcBDWnQu70=; b=ClI7nJ3vmefF0+TJumvdS+qWi7+7LkhhokwANeihbCFLiTHr4V8y5yKszECvCHP1vi 1C73hFCaZ20uYrViOsua+5Y3p1TCUz0yZucCGYf7WmY7z02C9GM+g9Z5BtRgk33oJM5H P9Spf5wlXtBDpKH0sfZOqK3RyYT3seKIqScTjyIFYrxQ+5ihf6oNWsLkpZW84oKGdAm2 SlwCZ6sy5iA9bMKJg4ONOKXWGYTIIRYeMxfgX1z/KYwM5XZYvTE+bIHicEhiVDISVBO7 xgHoBuFrTKW/0MHGwYcVl3Sq11y1C/AW4AJVUorWy1sf0qGMrL4jKHyMUPSzU+OeDUGt /hFA== X-Gm-Message-State: AA+aEWalinnY+BoRMgVWGBjkUPGHvvvZVq8bKsiXfOZQEzOTs7QWEQ3k VPMSHgIzSzSftRyhO6WJaZ0eHiKr X-Google-Smtp-Source: AFSGD/UzfJlunJ2AIy59GkeECJ1fKpDEbF6zx9ejhPPXZy/rKOqT8fPqVNjq8+MipMZpud26X/ABvg== X-Received: by 2002:adf:9786:: with SMTP id s6mr7047585wrb.283.1542830342963; Wed, 21 Nov 2018 11:59:02 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.59.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:59:02 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:21 +0100 Message-Id: <20181121195822.15379-8-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 7/8] support/testing: add perl-x10 test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + .../testing/tests/package/test_perl_x10.py | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 support/testing/tests/package/test_perl_x10.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 667483c01..af643fa10 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -317,6 +317,7 @@ tests.package.test_perl_class_load.TestPerlClassLoad: *runtime_test tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test tests.package.test_perl_libwww_perl.TestPerllibwwwperl: *runtime_test tests.package.test_perl_mail_dkim.TestPerlMailDKIM: *runtime_test +tests.package.test_perl_x10.TestPerlX10: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test diff --git a/support/testing/tests/package/test_perl_x10.py b/support/testing/tests/package/test_perl_x10.py new file mode 100644 index 000000000..b529461a3 --- /dev/null +++ b/support/testing/tests/package/test_perl_x10.py @@ -0,0 +1,21 @@ +from tests.package.test_perl import TestPerl + + +class TestPerlX10(TestPerl): + """ + package: + X10 + direct dependencies: + Astro-SunTime + Device-SerialPort + Time-ParseDate + """ + + config = TestPerl.config + \ + """ + BR2_PACKAGE_PERL_X10=y + """ + + def test_run(self): + self.login() + self.module_test("X10") From patchwork Wed Nov 21 19:58:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1001397 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aFvP61wr"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430YLc5pltz9s1x for ; Thu, 22 Nov 2018 06:59:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 24AF3883D3; Wed, 21 Nov 2018 19:59:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmXpx0CX2Rca; Wed, 21 Nov 2018 19:59:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BC36188404; Wed, 21 Nov 2018 19:59:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EB6861BF279 for ; Wed, 21 Nov 2018 19:59:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E526A882E3 for ; Wed, 21 Nov 2018 19:59:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h-HaHD0WlFel for ; Wed, 21 Nov 2018 19:59:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id ADDD987746 for ; Wed, 21 Nov 2018 19:59:05 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id l9so6954624wrt.13 for ; Wed, 21 Nov 2018 11:59:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lWtyXz59zzqgcng5PPYV5BVWY0a2Njt1jI8j+vi623k=; b=aFvP61wr/NQCSA/XFFQFRp+dn0xSvLywzLqKonuJujXeDQACF2uhG31yMlPoEkJ7KL HSY4X+EymKKNw7geBKuXM+cFCVoOULXNaSf8dRmXYJ8lXX9niXauH4CMy651C4pe5+Hw 63PGHkUjpWuvVGQptrB+4rQhnEmbxyOAsdeAv07CP0g7CS6sBff0BWUFLTdGUZ3LnFPy aKwydHQ/DLmZkDYODVsLcjp2wmVtx2xsnpP/nnrjq7QmO7unjONv0kxrBPnHJaYFvJaB UVfY1Dx6nJ8YBq+xzSL4NHqcTNmb4ug+poW82K/2SBFJv2K2Oojhm0ashiKitSEim8Jo LTEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lWtyXz59zzqgcng5PPYV5BVWY0a2Njt1jI8j+vi623k=; b=QIUwOFV8KOEQ4wnCmdz5FU9CYLFpDgbF9k1hU8H9DFJQp1LYiV7gCqUyhShRmIw3Qd yo9SFtIUZyo5uN3z7n3u5c4RZAbFnR7msGAM8nEnVpIUZmLe5tloxHZtHtdGBsIjg2q4 3aSQQ1OY4LIT5EYhUm3trpuMIyrt//Jy/xz3vQ63fJqlRIQ7eyrikh7y+2irIPOHAxf5 MBXIKu2gViV/dus/ZejFVn/C6gIMQ8JZmiYyj/0Qn93jbtMgqi8+efoQohdje6nzHgxZ GkmpQ+vd7BbbArnwsU/jf2CVpdEjhP8tMSXvT6mZfdA6GqBjdZhKEU9mmHXZLjTZJj4j 6spw== X-Gm-Message-State: AA+aEWYVeb6uo7xCjehAlW86qkDEGIipdMqmhFthNTDy1ZwYNglKpXqo N5hAVqxFgXF1VukA6VmcpwpqMu3J X-Google-Smtp-Source: AFSGD/XF3y/gp4C7NvS8bW5dOkzL4Y1kzqIFKenla1QqF3lFoPs+MCwgt7JzsSVUVJ7wb7y8Jvy/Sg== X-Received: by 2002:adf:a109:: with SMTP id o9-v6mr6923296wro.169.1542830344043; Wed, 21 Nov 2018 11:59:04 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id f15sm1598414wrt.10.2018.11.21.11.59.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 11:59:03 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 21 Nov 2018 20:58:22 +0100 Message-Id: <20181121195822.15379-9-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121195822.15379-1-francois.perrad@gadz.org> References: <20181121195822.15379-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 8/8] support/testing: add perl-xml-libxml test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- .gitlab-ci.yml | 1 + .../tests/package/test_perl_xml_libxml.py | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 support/testing/tests/package/test_perl_xml_libxml.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af643fa10..8ca50f045 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -318,6 +318,7 @@ tests.package.test_perl_gdgraph.TestPerlGDGraph: *runtime_test tests.package.test_perl_libwww_perl.TestPerllibwwwperl: *runtime_test tests.package.test_perl_mail_dkim.TestPerlMailDKIM: *runtime_test tests.package.test_perl_x10.TestPerlX10: *runtime_test +tests.package.test_perl_xml_libxml.TestPerlXMLLibXML: *runtime_test tests.package.test_python.TestPython2: *runtime_test tests.package.test_python.TestPython3: *runtime_test tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test diff --git a/support/testing/tests/package/test_perl_xml_libxml.py b/support/testing/tests/package/test_perl_xml_libxml.py new file mode 100644 index 000000000..6a2daaf72 --- /dev/null +++ b/support/testing/tests/package/test_perl_xml_libxml.py @@ -0,0 +1,21 @@ +from tests.package.test_perl import TestPerl + + +class TestPerlXMLLibXML(TestPerl): + """ + package: + XML-LibXML + direct dependencies: + XML-NamespaceSupport + XML-SAX + XML-SAX-Base + """ + + config = TestPerl.config + \ + """ + BR2_PACKAGE_PERL_XML_LIBXML=y + """ + + def test_run(self): + self.login() + self.module_test("XML::LibXML")