summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-22 20:11:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-01 15:39:58 +0100
commitf4248c6a69b8ce1086f348e7f16e114775828a10 (patch)
tree9e953fc3f87040599441020ba1b5dc1c0013cce6 /meta/recipes-devtools/perl
parentd61804d923e07db592f446955f5bc29690241000 (diff)
downloadpoky-f4248c6a69b8ce1086f348e7f16e114775828a10.tar.gz
perl: odbm.t: fix the path of dbmt_common.pl
It should be ../t/lib/dbmt_common.pl. Fixed: Can't locate ../../t/lib/dbmt_common.pl in @INC (From OE-Core rev: d261f4254b049276c086bc05adb068deb331e1d5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch31
-rw-r--r--meta/recipes-devtools/perl/perl_5.22.0.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch b/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch
new file mode 100644
index 0000000000..6b05b877fb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch
@@ -0,0 +1,31 @@
1From b842e1de7798a1f7df770bb3f185ad3356e490e6 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Mon, 22 Jun 2015 20:06:56 -0700
4Subject: [PATCH] ext/ODBM_File/t/odbm.t: fix the path of dbmt_common.pl
5
6It should be lib/dbmt_common.pl when run by run-ptest.
7
8Fixed:
9Can't locate ../../t/lib/dbmt_common.pl in @INC
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12---
13 ext/ODBM_File/t/odbm.t | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/ext/ODBM_File/t/odbm.t b/ext/ODBM_File/t/odbm.t
17index 079b9f1..250b991 100644
18--- a/ext/ODBM_File/t/odbm.t
19+++ b/ext/ODBM_File/t/odbm.t
20@@ -2,7 +2,7 @@
21
22 our $DBM_Class = 'ODBM_File';
23
24-require '../../t/lib/dbmt_common.pl';
25+require 'lib/dbmt_common.pl';
26
27 if ($^O eq 'hpux') {
28 print <<EOM;
29--
301.7.9.5
31
diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index 7c7041475f..1aa97373e0 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -60,6 +60,7 @@ SRC_URI += " \
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 file://t-run-switches.t-perl5-perl.patch \
62 file://ext-ODBM_File-hints-linux.pl-link-libgdbm_compat.patch \ 62 file://ext-ODBM_File-hints-linux.pl-link-libgdbm_compat.patch \
63 file://ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch \
63" 64"
64 65
65# Fix test case issues 66# Fix test case issues