File: deactivate-unit-tests.patch

package info (click to toggle)
octave-image-acquisition 0.3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 632 kB
  • sloc: sh: 3,584; cpp: 2,638; makefile: 22
file content (44 lines) | stat: -rw-r--r-- 1,325 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: Deactivate unit tests that need modprobe
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2025-06-28

--- octave-image-acquisition-0.3.3.orig/inst/imaqhwinfo.m
+++ octave-image-acquisition-0.3.3/inst/imaqhwinfo.m
@@ -36,6 +36,6 @@ function ret = imaqhwinfo()
   ret = __imaq_enum_devices__ ();
 endfunction
 
-%!test
+%!xtest
 %! d = imaqhwinfo();
 %! assert (numel (d) >= 1);
--- octave-image-acquisition-0.3.3.orig/src/__imaq_handler__.cc
+++ octave-image-acquisition-0.3.3/src/__imaq_handler__.cc
@@ -675,7 +675,7 @@ Convert raw mjpg stream (as returned fro
 */
 
 /*
-%!test
+%!xtest
 %! x = __imaq_handler_open__(__test__device__{:});
 %! s = __imaq_handler_enum_framesizes__(x, "MJPG")(end,:);
 %! __imaq_handler_s_fmt__(x, "MJPG", s);
@@ -686,7 +686,7 @@ Convert raw mjpg stream (as returned fro
 */
 
 /*  change controls
-%!test
+%!xtest
 %! x = __imaq_handler_open__(__test__device__{:});
 %! s = __imaq_handler_enum_framesizes__(x, "MJPG");
 %! __imaq_handler_s_fmt__(x, "MJPG", s(end,:));
@@ -706,7 +706,7 @@ Convert raw mjpg stream (as returned fro
 
 /*  check get timeperframe (1/fps).
  *  This may fail for example with some sn9c20x cameras
-%!test
+%!xtest
 %! x = __imaq_handler_open__(__test__device__{:});
 %! r = __imaq_handler_get_frameinterval__(x);
 */