diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-14 15:00:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:33:09 +0000 |
commit | 582dcc4e76ab32a2a818fe59a05215fc3b43c3fa (patch) | |
tree | 260daa2b6981efc2222eef8c8f5a047903204d9f /meta/recipes-devtools/perl/files/0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch | |
parent | 9383294cbc4f8799e04c305ea780c852a276daca (diff) | |
download | poky-582dcc4e76ab32a2a818fe59a05215fc3b43c3fa.tar.gz |
perl: fix failing ptests
(From OE-Core rev: f1da6355f13e707b3ffa5025067e509e0120784d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/files/0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch')
-rw-r--r-- | meta/recipes-devtools/perl/files/0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/files/0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch b/meta/recipes-devtools/perl/files/0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch new file mode 100644 index 0000000000..0f3a2c6327 --- /dev/null +++ b/meta/recipes-devtools/perl/files/0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From b0d53cfd785f64002128ac5eecc4aed0663d9c30 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 9 Jan 2020 17:26:55 +0100 | ||
4 | Subject: [PATCH] tests: adjust to correctly exclude unbuilt extensions | ||
5 | |||
6 | Issue is reported here: | ||
7 | https://github.com/arsv/perl-cross/issues/85 | ||
8 | |||
9 | Upstream-Status: Inappropriate [issue caused by perl-cross] | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | t/TEST | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/t/TEST b/t/TEST | ||
16 | index a9c844f..8d3505f 100755 | ||
17 | --- a/t/TEST | ||
18 | +++ b/t/TEST | ||
19 | @@ -419,7 +419,7 @@ sub _tests_from_manifest { | ||
20 | while (<MANI>) { | ||
21 | if (m!^((?:cpan|dist|ext)/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) { | ||
22 | my $t = $1; | ||
23 | - my $extension = $2; | ||
24 | + my $extension = $1."/".$2; | ||
25 | |||
26 | # XXX Generates way too many error lines currently. Skip for | ||
27 | # v5.22 | ||