[oe-commits] Robert Yang : perl: odbm.t: fix the path of dbmt_common.pl

git at git.openembedded.org git at git.openembedded.org
Sun Jun 28 12:38:55 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: e9ef5666e5b972ceebbcf94a2570d168a170f0ee
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e9ef5666e5b972ceebbcf94a2570d168a170f0ee

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Mon Jun 22 20:11:58 2015 -0700

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

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 ...le-t-odbm.t-fix-the-path-of-dbmt_common.p.patch | 31 ++++++++++++++++++++++
 meta/recipes-devtools/perl/perl_5.22.0.bb          |  1 +
 2 files changed, 32 insertions(+)

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 0000000..6b05b87
--- /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 @@
+From b842e1de7798a1f7df770bb3f185ad3356e490e6 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang at windriver.com>
+Date: Mon, 22 Jun 2015 20:06:56 -0700
+Subject: [PATCH] ext/ODBM_File/t/odbm.t: fix the  path of dbmt_common.pl
+
+It should be lib/dbmt_common.pl when run by run-ptest.
+
+Fixed:
+Can't locate ../../t/lib/dbmt_common.pl in @INC
+
+Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
+---
+ ext/ODBM_File/t/odbm.t |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/ODBM_File/t/odbm.t b/ext/ODBM_File/t/odbm.t
+index 079b9f1..250b991 100644
+--- a/ext/ODBM_File/t/odbm.t
++++ b/ext/ODBM_File/t/odbm.t
+@@ -2,7 +2,7 @@
+ 
+ our $DBM_Class = 'ODBM_File';
+ 
+-require '../../t/lib/dbmt_common.pl';
++require 'lib/dbmt_common.pl';
+ 
+ if ($^O eq 'hpux') {
+     print <<EOM;
+-- 
+1.7.9.5
+
diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index 7c70414..1aa9737 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 += " \
         file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \
         file://t-run-switches.t-perl5-perl.patch \
         file://ext-ODBM_File-hints-linux.pl-link-libgdbm_compat.patch \
+        file://ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch \
 "
 
 # Fix test case issues



More information about the Openembedded-commits mailing list