File: skip-unit-test-otf2psf.patch

package info (click to toggle)
octave-image 2.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,536 kB
  • sloc: cpp: 4,114; objc: 1,015; makefile: 31; xml: 30
file content (20 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Skip a failing unit test for function otf2psf
 We are skipping the failing test for now, in order to avoid FTBFS
 with version 1.5.0 of octave-pkg-dev (Bug#874125).  The bug must be
 fixed in the future, though.
Author: Rafael Laboissiere <rafael@debian.org>
Bug: https://savannah.gnu.org/bugs/index.php?51981
Forwarded: not-needed
Last-Update: 2019-01-02

--- a/inst/otf2psf.m
+++ b/inst/otf2psf.m
@@ -117,7 +117,7 @@
 %! psf = fspecial ("gaussian", 16);
 %! otf = psf2otf (psf);
 %! assert (otf2psf (otf), psf, eps);
-%!test
+%!xtest
 %! psf = rand (16);
 %! otf = psf2otf (psf);
 %! assert (otf2psf (otf), psf, 4*eps);