[Pkg-octave-commit] [octave-image] 03/11: d/p/skip-unit-tests-edge.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 58472c66b5a1ef2eff6f478d67e3508d557b580b
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Sep 10 12:09:21 2017 -0300

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

diff --git a/debian/patches/series b/debian/patches/series
index 636e5c9..2c6956e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ im2bw-unit-test.patch
 typo-unit-test-watershed.patch
 skip-unit-tests-watershed.patch
 skip-unit-tests-impyramid.patch
+skip-unit-tests-edge.patch
diff --git a/debian/patches/skip-unit-tests-edge.patch b/debian/patches/skip-unit-tests-edge.patch
new file mode 100644
index 0000000..7599790
--- /dev/null
+++ b/debian/patches/skip-unit-tests-edge.patch
@@ -0,0 +1,29 @@
+Description: Skip some failing unit tests for function edge
+ We are doing so for now, just to avoid the 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>
+Bug: https://savannah.gnu.org/bugs/index.php?51980
+Forwarded: not-needed
+Last-Update: 2017-09-10
+
+--- octave-image-2.6.1.orig/inst/edge.m
++++ octave-image-2.6.1/inst/edge.m
+@@ -775,7 +775,7 @@ endfunction
+ %! assert (erg135, E135)
+ 
+ ## test CANNY edge detector
+-%!test
++%!xtest
+ %! in_8 = fspecial ("gaussian", [8 8], 2);
+ %! in_8 /= in_8(4,4);
+ %! in_8_uint8 = im2uint8 (in_8);
+@@ -814,7 +814,7 @@ endfunction
+ %! assert (obs_edge_uint8, out_8)
+ %! assert (obs_thresh_uint8, out_thresh)
+ 
+-%!test
++%!xtest
+ %! in_9 = fspecial ("gaussian", [9 9], 2);
+ %! in_9 /= in_9(5,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