[Pkg-octave-commit] [octave-image] 09/11: d/p/skip-unit-test-cp2tform.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 a370d8d4ea7b5dbbfa6e0f745c5f42aa700497e5
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Sep 10 16:18:16 2017 -0300

    d/p/skip-unit-test-cp2tform.patch: New patch
---
 debian/patches/series                        |  1 +
 debian/patches/skip-unit-test-cp2tform.patch | 47 ++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index a31b310..e5999b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ skip-unit-tests-bwmorph.patch
 skip-unit-test-otf2psf.patch
 skip-unit-test-nlfilter.patch
 error-unit-test-strel.patch
+skip-unit-test-cp2tform.patch
diff --git a/debian/patches/skip-unit-test-cp2tform.patch b/debian/patches/skip-unit-test-cp2tform.patch
new file mode 100644
index 0000000..1ff7a09
--- /dev/null
+++ b/debian/patches/skip-unit-test-cp2tform.patch
@@ -0,0 +1,47 @@
+Description: Skip some failing unit tests for function cp2tform
+ 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?51986
+Forwarded: not-needed
+Last-Update: 2017-09-10
+
+--- octave-image-2.6.1.orig/inst/cp2tform.m
++++ octave-image-2.6.1/inst/cp2tform.m
+@@ -288,7 +288,7 @@ endfunction
+ %!endfunction
+ 
+ 
+-%!test
++%!xtest
+ %! npt = 100000;
+ %! [crw, cap] = coords (npt);
+ %! ttype = 'projective';
+@@ -297,7 +297,7 @@ endfunction
+ %! finalerr = norm (crw - crw2)/npt;
+ %! assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr)
+ 
+-%!test
++%!xtest
+ %! npt = 100000;
+ %! [crw, cap] = coords (npt);
+ %! ttype = 'affine';
+@@ -306,7 +306,7 @@ endfunction
+ %! finalerr = norm (crw - crw2)/npt;
+ %! assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr)
+ 
+-%!test
++%!xtest
+ %! npt = 100000;
+ %! [crw, cap] = coords (npt);
+ %! ttype = 'nonreflective similarity';
+@@ -315,7 +315,7 @@ endfunction
+ %! finalerr = norm (crw - crw2)/npt;
+ %! assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr)
+ 
+-%!test
++%!xtest
+ %! npt = 100000;
+ %! [crw, cap] = coords (npt);
+ %! cap(:,2) *= -1; 	% reflection around y axis

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