[Pkg-octave-commit] [octave-image] 07/11: d/p/drop-unit-test-nlfilter.patch: New patch

Rafael Laboissiere rafael at debian.org
Sun Sep 10 19:41:05 UTC 2017


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

rafael pushed a commit to branch master
in repository octave-image.

commit 64c89cd619a0f1b8b98c021ef03fdc9f278e4627
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Sep 10 13:35:15 2017 -0300

    d/p/drop-unit-test-nlfilter.patch: New patch
---
 debian/patches/series                        |  1 +
 debian/patches/skip-unit-test-nlfilter.patch | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index c7b2ec9..6c99451 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ skip-unit-tests-edge.patch
 drop-unit-tests-grayscale.patch
 skip-unit-tests-bwmorph.patch
 skip-unit-test-otf2psf.patch
+skip-unit-test-nlfilter.patch
diff --git a/debian/patches/skip-unit-test-nlfilter.patch b/debian/patches/skip-unit-test-nlfilter.patch
new file mode 100644
index 0000000..2b9a02f
--- /dev/null
+++ b/debian/patches/skip-unit-test-nlfilter.patch
@@ -0,0 +1,20 @@
+Description: Skip a failing unit test for function nlfilter
+ We are skipping the failing test for now, in order to avoid FTBFS
+ with version 1.5.0 of octave-pkg-dev (Bug#874125).  The bug must be
+ fixed in the future, though.
+Author: Rafael Laboissiere <rafael at debian.org>
+Bug: https://savannah.gnu.org/bugs/index.php?51982
+Forwarded: not-needed
+Last-Update: 2017-09-10
+
+--- octave-image-2.6.1.orig/inst/nlfilter.m
++++ octave-image-2.6.1/inst/nlfilter.m
+@@ -143,7 +143,7 @@ endfunction
+ %! assert (nlfilter (a, [3 7], @(x) max(x(:))), imdilate (a, ones ([3 7])))
+ %! assert (nlfilter (a, [3 7 3], @(x) max(x(:))), imdilate (a, ones ([3 7 3])))
+ 
+-%!test
++%!xtest
+ %! a = randi (10, 15, 15, 4, 8, 3);
+ %! assert (nlfilter (a, [3 4 7 5], @(x) max(x(:))),
+ %!         imdilate (a, ones ([3 4 7 5])))

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



More information about the Pkg-octave-commit mailing list