[Pkg-octave-commit] [octave-image] 05/11: d/p/drop-unit-tests-bwmorph.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 9397457ddd860cde4d69ff9445aa5d2a6a4fb8de
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Sep 10 12:59:21 2017 -0300

    d/p/drop-unit-tests-bwmorph.patch: New patch
---
 debian/patches/series                        |  1 +
 debian/patches/skip-unit-tests-bwmorph.patch | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 621363f..6f20269 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ skip-unit-tests-watershed.patch
 skip-unit-tests-impyramid.patch
 skip-unit-tests-edge.patch
 drop-unit-tests-grayscale.patch
+skip-unit-tests-bwmorph.patch
diff --git a/debian/patches/skip-unit-tests-bwmorph.patch b/debian/patches/skip-unit-tests-bwmorph.patch
new file mode 100644
index 0000000..347e51b
--- /dev/null
+++ b/debian/patches/skip-unit-tests-bwmorph.patch
@@ -0,0 +1,28 @@
+Description: Skip some failing unit tests for function bwmorph
+ There are comments in bwmorph.m indicating that those unit tests are
+ problematic. We are skipping them for now, in order to avoid FTBFS
+ with version 1.5.0 of octave-pkg-dev (Bug#874125).  The bugs must be
+ fixed in the future, though.
+Author: Rafael Laboissiere <rafael at debian.org>
+Forwarded: not-needed
+Last-Update: 2017-09-10
+
+--- octave-image-2.6.1.orig/inst/bwmorph.m
++++ octave-image-2.6.1/inst/bwmorph.m
+@@ -712,6 +712,7 @@ endfunction
+ %! assert (bwmorph (in, "remove", Inf), out);
+ %!
+ %! ## tests for spur are failing (matlab incompatible)
++%!xtest
+ %! out = logical ([0  1  0  0  0
+ %!                 1  0  0  0  0
+ %!                 1  0  1  0  0
+@@ -727,7 +728,7 @@ endfunction
+ %! assert (bwmorph (in, "spur", Inf), out);
+ 
+ ## bug #44396
+-%!test
++%!xtest
+ %! in = [
+ %!   0   0   0   1   0
+ %!   1   1   1   1   0

-- 
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