summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-19 01:26:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-01 15:39:58 +0100
commitae4e9de7c4626517e76d3bf8fc251af9807b3661 (patch)
tree86307aaa15748c4f3a4b1fbe1d7a32c61d29713f /meta/recipes-devtools
parent3020570504826da0583986af84ca7ff2d936c22a (diff)
downloadpoky-ae4e9de7c4626517e76d3bf8fc251af9807b3661.tar.gz
perl: fix test case switches.t
We call it perl rather than perl5 in oe-core. (From OE-Core rev: 13518a25cbad122be4d3f15dbe87cc5a53ef5b1d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl/t-run-switches.t-perl5-perl.patch30
-rw-r--r--meta/recipes-devtools/perl/perl_5.22.0.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/t-run-switches.t-perl5-perl.patch b/meta/recipes-devtools/perl/perl/t-run-switches.t-perl5-perl.patch
new file mode 100644
index 0000000000..03fdf4ab98
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/t-run-switches.t-perl5-perl.patch
@@ -0,0 +1,30 @@
1From 1561549ea36e37cc25706f094a195de4928f4211 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Fri, 19 Jun 2015 01:23:46 -0700
4Subject: [PATCH] t/run/switches.t: perl5 -> perl
5
6We call it perl rather than perl5 in oe.
7
8Upstream-Status: Inappropriate [oe specific]
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 t/run/switches.t | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/t/run/switches.t b/t/run/switches.t
16index 78915e0..e9e4b45 100644
17--- a/t/run/switches.t
18+++ b/t/run/switches.t
19@@ -269,7 +269,7 @@ is runperl(stderr => 1, prog => '#!perl -M'),
20 '-V generates 20+ lines' );
21
22 like( runperl( switches => ['-V'] ),
23- qr/\ASummary of my perl5 .*configuration:/,
24+ qr/\ASummary of my perl .*configuration:/,
25 '-V looks okay' );
26
27 # lookup a known config var
28--
291.7.9.5
30
diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index e749078a0f..da3dba6ebb 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -58,6 +58,7 @@ SRC_URI += " \
58 file://config.sh-64-le \ 58 file://config.sh-64-le \
59 file://config.sh-64-be \ 59 file://config.sh-64-be \
60 file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \ 60 file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \
61 file://t-run-switches.t-perl5-perl.patch \
61" 62"
62 63
63# Fix test case issues 64# Fix test case issues