File: 0007-Disable-some-tests.patch

package info (click to toggle)
nbdkit 1.42.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,692 kB
  • sloc: ansic: 59,174; sh: 16,844; makefile: 6,452; python: 1,837; cpp: 1,116; perl: 502; ml: 498; tcl: 62
file content (66 lines) | stat: -rw-r--r-- 1,934 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
From: Hilko Bengen <bengen@debian.org>
Date: Sun, 10 Jan 2021 18:21:00 +0100
Subject: Disable some tests

These have failed on buildds but failures could not be reproduced in
regular schroot/sbuild environments.
---
 tests/Makefile.am | 38 --------------------------------------
 1 file changed, 38 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7376c94..0864cd0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -395,37 +395,6 @@ test_socket_activation_CPPFLAGS = \
 test_socket_activation_CFLAGS = $(WARNINGS_CFLAGS)
 endif
 
-if !IS_WINDOWS
-TESTS += test-stdio.sh
-# check_LTLIBRARIES won't build a shared library (see automake manual).
-# So we have to do this and add a dependency.
-noinst_LTLIBRARIES += \
-	test-stdio-plugin.la \
-	$(NULL)
-test-stdio.sh: test-stdio-plugin.la
-
-test_stdio_plugin_la_SOURCES = \
-	test-stdio-plugin.c \
-	$(top_srcdir)/include/nbdkit-plugin.h \
-	$(NULL)
-test_stdio_plugin_la_CPPFLAGS = \
-	-I$(top_srcdir)/include \
-	-I$(top_builddir)/include \
-	-I$(top_srcdir)/common/replacements \
-	$(NULL)
-test_stdio_plugin_la_CFLAGS = $(WARNINGS_CFLAGS)
-# For use of the -rpath option, see:
-# https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html
-test_stdio_plugin_la_LDFLAGS = \
-	-module -avoid-version -shared $(NO_UNDEFINED_ON_WINDOWS) -rpath /nowhere \
-	$(NULL)
-test_stdio_plugin_la_LIBADD = \
-	$(top_builddir)/common/replacements/libcompat.la \
-	$(top_builddir)/common/utils/libutils.la \
-	$(IMPORT_LIBRARY_ON_WINDOWS) \
-	$(NULL)
-endif
-
 # check_LTLIBRARIES won't build a shared library (see automake manual).
 # So we have to do this and add a dependency.
 noinst_LTLIBRARIES += \
@@ -1895,13 +1864,6 @@ EXTRA_DIST += \
 	$(NULL)
 
 # luks filter test.
-if HAVE_GNUTLS_PBKDF2
-TESTS += \
-	test-luks-info.sh \
-	test-luks-copy.sh \
-	test-luks-copy-zero.sh \
-	$(NULL)
-endif
 EXTRA_DIST += \
 	test-luks-info.sh \
 	test-luks-copy.sh \