All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 28/28] libmodule-build-perl: fix ptests
Date: Wed,  8 Jan 2020 14:27:59 +0100	[thread overview]
Message-ID: <20200108132759.95603-28-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20200108132759.95603-1-alex.kanavin@gmail.com>

Particularly remove a broken detection of skipped tests
(which was marking tests that actually passed), and install
additional artefacts needed for testing.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/recipes-devtools/perl/libmodule-build-perl/run-ptest | 2 --
 meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest b/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest
index 0d63d1513bc..d802781f9e6 100644
--- a/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest
+++ b/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest
@@ -6,8 +6,6 @@ for case in `find t -type f -name '*.t'`; do
     cat $case.output
     if [ $ret -ne 0 ]; then
         echo "FAIL: ${case%.t}"
-    elif grep -i 'SKIP' $case.output; then
-        echo "SKIP: ${case%.t}"
     else
         echo "PASS: ${case%.t}"
     fi
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb
index f759f862fb2..e3ba40d96c5 100644
--- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb
+++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb
@@ -36,7 +36,10 @@ do_patch[postfuncs] += "do_patch_module_build"
 do_install_ptest() {
 	cp -r ${B}/inc ${D}${PTEST_PATH}
 	cp -r ${B}/blib ${D}${PTEST_PATH}
+	cp -r ${B}/_build ${D}${PTEST_PATH}
+	cp -r ${B}/lib ${D}${PTEST_PATH}
 	chown -R root:root ${D}${PTEST_PATH}
+	sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params
 }
 
 RDEPENDS_${PN} += " \
-- 
2.17.1



  parent reply	other threads:[~2020-01-08 13:28 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08 13:27 [PATCH 01/28] rpm: upgrade to 4.15.1 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 02/28] rpm: switch to openssl from nss Alexander Kanavin
2020-01-08 13:27 ` [PATCH 03/28] rpm: fix with musl and latest elfutils Alexander Kanavin
2020-01-08 13:27 ` [PATCH 04/28] nss: update to 3.48 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 05/28] python3: update to 3.8.1 Alexander Kanavin
2020-01-08 23:02   ` Richard Purdie
2020-01-09  1:23     ` Khem Raj
2020-01-09 15:31     ` Alexander Kanavin
2020-01-09 19:28       ` André Draszik
2020-01-09 19:37         ` André Draszik
2020-01-09 19:49           ` Alexander Kanavin
2020-01-09 22:14             ` Richard Purdie
2020-01-13 14:15               ` Alexander Kanavin
2020-01-14 10:23                 ` Richard Purdie
2020-01-14 12:19                   ` Alexander Kanavin
2020-01-14 18:37                     ` Richard Purdie
2020-01-15 18:26                       ` Alexander Kanavin
2020-01-08 13:27 ` [PATCH 06/28] gstreamer1.0-python: add a patch to fix python 3.8 builds Alexander Kanavin
2020-01-08 13:27 ` [PATCH 07/28] acl/attr: update to latest upstream releases Alexander Kanavin
2020-01-09  1:30   ` Khem Raj
2020-01-10 11:02   ` Richard Purdie
2020-01-10 14:48     ` Alexander Kanavin
2020-01-08 13:27 ` [PATCH 08/28] pseudo: adjust for attr 2.4.48 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 09/28] ltp: update to 20190930 Alexander Kanavin
2020-01-09  9:15   ` Richard Purdie
2020-01-08 13:27 ` [PATCH 10/28] resolvconf: update to 1.82 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 11/28] ifupdown: update 0.8.22 -> 0.8.35 Alexander Kanavin
2020-01-08 21:23   ` Richard Purdie
2020-01-09 13:47     ` Alexander Kanavin
2020-01-09 13:54       ` Alexander Kanavin
2020-01-09 13:55         ` Richard Purdie
2020-01-09 14:36           ` Alexander Kanavin
2020-01-09 14:44             ` Tom Rini
2020-01-09 14:47               ` Alexander Kanavin
2020-01-09 15:01                 ` Tom Rini
2020-01-09 15:33                   ` Alexander Kanavin
2020-01-09 15:55                     ` Tom Rini
2020-01-09 16:12                       ` Alexander Kanavin
2020-01-10 15:00                         ` Adrian Bunk
2020-01-10 15:12                           ` Alexander Kanavin
2020-01-15  1:10             ` Randy MacLeod
2020-01-08 13:27 ` [PATCH 12/28] ovmf: update to 201911 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 13/28] elfutils: upgrade 0.177 -> 0.178 Alexander Kanavin
2020-01-09  1:27   ` Khem Raj
2020-01-08 13:27 ` [PATCH 14/28] libcap: update to 2.30 Alexander Kanavin
2020-01-08 21:22   ` Richard Purdie
2020-01-09  1:31     ` Khem Raj
2020-01-09 11:46       ` Adrian Bunk
2020-01-09 13:16         ` Alexander Kanavin
2020-01-08 13:27 ` [PATCH 15/28] virglrenderer: update to 0.8.1 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 16/28] systemtap: remove the unneeded patch Alexander Kanavin
2020-01-08 13:27 ` [PATCH 17/28] lib/oe/package_manager.py: put the sdk_provides_dummy_target upfront Alexander Kanavin
2020-01-08 13:27 ` [PATCH 18/28] dummy-sdk-package.inc: do multilib expanesion for RREPLACES as well Alexander Kanavin
2020-01-08 13:27 ` [PATCH 19/28] staging.bbclass: correctly exclude ptest directories Alexander Kanavin
2020-01-08 13:27 ` [PATCH 20/28] ptest: report ptests that couldn't be run at all Alexander Kanavin
2020-01-08 13:27 ` [PATCH 21/28] ptest-packagelists.inc: add a couple of missed ptests Alexander Kanavin
2020-01-08 13:27 ` [PATCH 22/28] gzip: do not pull in perl-ptest for gzip-ptest Alexander Kanavin
2020-01-08 13:27 ` [PATCH 23/28] gettext: additional ptest fixing Alexander Kanavin
2020-01-08 13:27 ` [PATCH 24/28] gawk: fix failing ptests Alexander Kanavin
2020-01-08 13:27 ` [PATCH 25/28] kbd: " Alexander Kanavin
2020-01-08 13:27 ` [PATCH 26/28] perl: package Config.pm from arch directory into the main perl package Alexander Kanavin
2020-01-08 13:27 ` [PATCH 27/28] perl: install typemap and other extutils metadata as part of perl-core Alexander Kanavin
2020-01-08 13:27 ` Alexander Kanavin [this message]
2020-01-08 13:32 ` ✗ patchtest: failure for "rpm: upgrade to 4.15.1..." and 27 more Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200108132759.95603-28-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.