File: skip-unit-test-isdicom.patch

package info (click to toggle)
octave-dicom 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,296 kB
  • sloc: sh: 3,219; cpp: 2,193; python: 230; makefile: 133; xml: 21
file content (18 lines) | stat: -rw-r--r-- 546 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Skip failing unit test in file isdicom.cpp
 This test would fail at the autobuilders because it needs to download
 a DICOM file over HTTP.
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2020-22-03

--- octave-dicom-0.2.1.orig/src/isdicom.cpp
+++ octave-dicom-0.2.1/src/isdicom.cpp
@@ -79,7 +79,7 @@ Return true if @var{filename} is a valid
 }
 
 /*
-%!test
+%!xtest
 %! fpath = tempname ();
 %! urlwrite ("http://imagej.nih.gov/ij/images/CT%20Scan.dcm", fpath);
 %! assert (isdicom (fpath), true);