[Pkg-octave-commit] [SCM] octave-control branch, master, updated. 0f1ee41efc4b584abdd198e2dbb1571d2cfb4718

Rafael Laboissiere rafael at debian.org
Fri May 22 12:40:49 UTC 2009


The following commit has been merged in the master branch:
commit 0f1ee41efc4b584abdd198e2dbb1571d2cfb4718
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Fri May 22 14:39:42 2009 +0200

    Add patch to fix testing failure of functions acker and place
    
    Also, build-depend on quilt and include patchsys-quilt.mk in debian/rules

diff --git a/debian/changelog b/debian/changelog
index 86736a2..6544d6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 octave-control (1.0.10-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * debian/patches/no-check-failure-acker-place.diff: Get around precision
+    problems when testing functions acker and place
+  * debian/rules: Include patchsys-quilt.mk
   * debian/control:
+    + (Build-Depends): Add quilt
     + (Standards-Version): Bump to 3.8.1 (no changes needed)
     + (Depends): Add ${misc:Depends}
     + (Vcs-Git, Vcs-Browser): Adjust to new Git repository
diff --git a/debian/control b/debian/control
index 90ccd3a..28422ad 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Ólafur Jens Sigurðsson <ojsbug at gmail.com>,
  Thomas Weber <thomas.weber.mail at gmail.com>,
  Rafael Laboissiere <rafael at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 6), cdbs, octave-pkg-dev (>= 0.6.4)
+Build-Depends: debhelper (>= 6), cdbs, octave-pkg-dev (>= 0.6.4), quilt
 Standards-Version: 3.8.1
 Homepage: http://octave.sourceforge.net/control
 Vcs-Git: git://git.debian.org/git/pkg-octave/octave-control.git
diff --git a/debian/patches/no-check-failure-acker-place.diff b/debian/patches/no-check-failure-acker-place.diff
new file mode 100644
index 0000000..c7ad88c
--- /dev/null
+++ b/debian/patches/no-check-failure-acker-place.diff
@@ -0,0 +1,26 @@
+Get around precision problems when testing functions acker and place
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 22 May 2009 14:34:21 +0200
+
+--- a/inst/acker.m
++++ b/inst/acker.m
+@@ -43,4 +43,4 @@
+ %! B = [0; 1];
+ %! P = [-1 -0.5];
+ %! Kexpected = [3.5 3.5];
+-%! assert (acker (A, B, P), Kexpected);
+\ No newline at end of file
++%! assert (acker (A, B, P), Kexpected, 2*eps);
+\ No newline at end of file
+--- a/inst/place.m
++++ b/inst/place.m
+@@ -135,5 +135,5 @@
+ %! C = [2 1]; # C is useful to use ss; it doesn't matter what the value of C is
+ %! P = [-1 -0.5];
+ %! Kexpected = [3.5 3.5];
+-%!assert (place (ss (A, B, C), P), Kexpected);
+-%!assert (place (A, B, P), Kexpected);
+\ No newline at end of file
++%!assert (place (ss (A, B, C), P), Kexpected, 2*eps);
++%!assert (place (A, B, P), Kexpected, 2*eps);
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0b99760
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-check-failure-acker-place.diff
diff --git a/debian/rules b/debian/rules
index 71fb86c..038c30c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,4 @@
 # -*- makefile -*-
 
 include /usr/share/cdbs/1/class/octave-pkg.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk

-- 
octave-control



More information about the Pkg-octave-commit mailing list