File: skip-unit-test-imerode.patch

package info (click to toggle)
octave-image 2.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,644 kB
  • sloc: cpp: 4,217; objc: 1,015; makefile: 32; xml: 30
file content (25 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Skip unit test for function imerode
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2025-03-25

--- octave-image-2.6.2.orig/src/imerode.cc
+++ octave-image-2.6.2/src/imerode.cc
@@ -453,7 +453,7 @@ at indices @code{floor ([size(@var{SE})/
 %!                          1     0     1     0     1
 %!                          1     1     0     1     0]));
 
-%!test
+%!xtest
 %! a = rand ([10 22 11 6 8 5]) > 0.2;
 %! se = ones ([5 3 7]);
 %!
@@ -742,7 +742,7 @@ at indices @code{floor ([size(@var{SE})/
 /*
 // Tests for N-dimensions
 
-%!test
+%!xtest
 %! a = rand ([10 22 11 6 8 5]) > 0.8;
 %! se = ones ([5 3 7]);
 %! assert (imdilate (a, se), convn (a, se, "same") > 0)