File: 01-disable_stress_mt.patch

package info (click to toggle)
libusb-1.0 2%3A1.0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,944 kB
  • sloc: ansic: 24,964; sh: 4,494; cpp: 1,814; makefile: 201
file content (31 lines) | stat: -rw-r--r-- 1,231 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
26
27
28
29
30
31
Description: Disable the stress_mt test
 This tests assume that some USB devices are available, which can't be
 guaranteed on the buildds. Just disable the test are suggested on the upstream
 bug tracker.
Author: Aurelien Jarno <aurel32@debian.org>
Bug: https://github.com/libusb/libusb/issues/1373
Forwarded: not-needed
Last-Update: 2023-12-10

--- libusb-1.0-1.0.27~rc1.orig/tests/Makefile.am
+++ libusb-1.0-1.0.27~rc1/tests/Makefile.am
@@ -21,7 +21,7 @@ stress_mt_LDFLAGS += ${AM_LDFLAGS} -s PR
 endif
 
 noinst_HEADERS = libusb_testlib.h
-noinst_PROGRAMS = stress stress_mt set_option init_context
+noinst_PROGRAMS = stress set_option init_context
 if OS_DARWIN
 noinst_PROGRAMS += macos
 endif
--- libusb-1.0-1.0.27~rc1.orig/tests/Makefile.in
+++ libusb-1.0-1.0.27~rc1/tests/Makefile.in
@@ -95,7 +95,7 @@
 # We use the PROXY_TO_PTHREAD Emscripten's feature to move the main app to a separate thread
 # where it can block safely.
 @OS_EMSCRIPTEN_TRUE@am__append_1 = ${AM_LDFLAGS} -s PROXY_TO_PTHREAD -s EXIT_RUNTIME
-noinst_PROGRAMS = stress$(EXEEXT) stress_mt$(EXEEXT) \
+noinst_PROGRAMS = stress$(EXEEXT) \
 	set_option$(EXEEXT) init_context$(EXEEXT) $(am__EXEEXT_1) \
 	$(am__EXEEXT_2)
 @OS_DARWIN_TRUE@am__append_2 = macos