File: skip-unit-test-imadjust.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 (20 lines) | stat: -rw-r--r-- 748 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Ignore a test failure in imadjust
 The disabled test relies on random matrices, and fails randomly. See for
 example:
 https://buildd.debian.org/status/fetch.php?pkg=octave-image&arch=amd64&ver=2.6.2-7&stamp=1528902545&raw=0
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2018-06-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/inst/imadjust.m
+++ b/inst/imadjust.m
@@ -456,7 +456,7 @@ endfunction
 %!    0  148  113   33   58   23]);
 %! assert (imadjust (in, [.1 .9], [0 1]), out);
 
-%!test
+%!xtest
 %! in_u8 = randi ([0 255], 5, 5, 2, 3, "uint8");
 %! in_u16 = randi ([0 65535], 5, 5, 2, 3, "uint16");
 %! in_i16 = randi ([-32768 32767], 5, 5, 2, 3, "int16");