[Pkg-octave-commit] [octave-splines] 02/03: d/p/fix-unit-test-bin_values.patch: New patch

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Fri May 8 13:47:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository octave-splines.

commit efa8b2cef04a657b23087ee3ac29a965dcfd82a2
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Fri May 8 10:41:55 2015 -0300

    d/p/fix-unit-test-bin_values.patch: New patch
---
 debian/patches/fix-unit-test-bin_values.patch | 21 +++++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/fix-unit-test-bin_values.patch b/debian/patches/fix-unit-test-bin_values.patch
new file mode 100644
index 0000000..b288a6c
--- /dev/null
+++ b/debian/patches/fix-unit-test-bin_values.patch
@@ -0,0 +1,21 @@
+Description: Fix failing unit test for the bin_values function
+ All unit tests worked correctly in version 1.2.7 of the package, but
+ one of the unit tests for bin_value fails in version 1.2.8. 
+ Essentially, this patch revert this upstream commit:
+ http://sourceforge.net/p/octave/splines/ci/496daa7
+Author: Rafael LAboissiere <rafael at laboissiere.net>
+Bug: https://savannah.gnu.org/bugs/index.php?45055
+Forwarded: not-needed
+Last-Update: 2015-05-08
+
+--- octave-splines-1.2.8.orig/inst/bin_values.m
++++ octave-splines-1.2.8/inst/bin_values.m
+@@ -88,7 +88,7 @@ w_bin = n_bin ./ accumdim(j, y, 1, [], f
+ %! [x_bin y_bin w_bin n_bin] = bin_values(x, y);
+ %!assert (x_bin, [1; 7/3]);
+ %!assert (y_bin, [0 0; 2 2]);
+-%!assert (w_bin, [NaN NaN; 3 1]);
++%!assert (w_bin, [Inf Inf; 3 1]);
+ %!assert (n_bin, [1; 3]);
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9e5b18d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-unit-test-bin_values.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-splines.git



More information about the Pkg-octave-commit mailing list