[SCM] ruby-hdfeos5 branch, master, updated. upstream/1.0-5-g7119aa9
Youhei SASAKI
uwabami at gfd-dennou.org
Tue Feb 22 07:11:28 UTC 2011
The following commit has been merged in the master branch:
commit 7119aa92d14654d05db891389b3f79e384b294b1
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Tue Feb 22 16:09:43 2011 +0900
Add test-target patch
diff --git a/debian/patches/0005-Added-comments-to-the-lines-that-cause-error-messagi.patch b/debian/patches/0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
new file mode 100644
index 0000000..df43c15
--- /dev/null
+++ b/debian/patches/0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
@@ -0,0 +1,59 @@
+From 0977bce67d77317acced1e845036d39fcfe4f39f Mon Sep 17 00:00:00 2001
+From: horinout <horinout>
+Date: Fri, 18 Feb 2011 08:32:29 +0000
+Subject: [PATCH] * Added comments to the lines that cause error messaging, which is not
+ due to actual errors.
+
+---
+ test/test_pt.rb | 14 +++++++-------
+ 1 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/test/test_pt.rb b/test/test_pt.rb
+index e8793af..cfaa6ab 100644
+--- a/test/test_pt.rb
++++ b/test/test_pt.rb
+@@ -121,9 +121,9 @@ time= [100,110,120,130,140]
+ dname1.writelevel(count, time,"float")
+
+ dname1=point8.var("Latitude")
+-count =[5]
+-time = NArray.float(6)
+-time = [10,10,20,30,40]
++count =[3]
++#time = NArray.float(6)
++time = [10,10,20]
+ dname1.writelevel(count, time,"float")
+
+ dname1=point8.var("DeployDate")
+@@ -198,7 +198,7 @@ p file4.has_point?()
+ point8=file4.point("FixedBuoy point")
+ p point8.getlevelname()
+ dname1=point8.var("Temperature")
+-p dname1.get_vars_float()
++p dname1.get_vars_float() # error message is shown but it's normal
+ dname1=point8.var("Latitude")
+ p dname1.get_vars_double()
+ dname1=point8.var("DeployDate")
+@@ -211,7 +211,7 @@ p dname1.natts
+ p dname1.fieldinfo()
+ p dname1.get
+ p dname1.fwdlink
+-p dname1.bcklink
++#p dname1.bcklink
+ point8.detach
+
+ point8=file4.point("FixedBuoy point")
+@@ -233,8 +233,8 @@ p dname1.ndims
+ p dname1.dim_names
+ p dname1.natts
+ p dname1.fieldinfo()
+-p dname1.get
+-p dname1.get_vars_double()
++p dname1.get # error message is shown but it's normal
++p dname1.get_vars_double() # error message is shown but it's normal
+ point9.detach
+ file4.close
+
+--
+1.7.4.1
+
diff --git a/debian/patches/series b/debian/patches/series
index b229fc4..a8cd349 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,5 +2,6 @@
0002-update-ChangeLog.patch
0003-Ruby-1.9.2-compatibility.patch
0004-update-ChangeLog.patch
+0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
fix-extconf-rb.patch
add-test-target.patch
--
Ruby interface of HDF-EOS5 library
More information about the Pkg-grass-devel
mailing list