summaryrefslogtreecommitdiff
path: root/debian/patches/0020-nousbtest.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-13 07:21:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-13 07:21:57 +0200
commitbc7bfb103acda936bd145f2d90e292a5fe0460d2 (patch)
tree8f74d634be11840fd3f526e5fd48d94abbd7c26a /debian/patches/0020-nousbtest.patch
parent90ad29d4f6fc7011a538a339bf3d4f9260899a80 (diff)
Rename & reorder patches
Diffstat (limited to 'debian/patches/0020-nousbtest.patch')
-rw-r--r--debian/patches/0020-nousbtest.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/0020-nousbtest.patch b/debian/patches/0020-nousbtest.patch
new file mode 100644
index 0000000..bf7deec
--- /dev/null
+++ b/debian/patches/0020-nousbtest.patch
@@ -0,0 +1,36 @@
+Description:
+ Don't build the USB tests because they will fail on the autobuilders.
+Author: Mark Buda <hermit@acm.org>
+
+--- a/testsuite/sanei/Makefile.am
++++ b/testsuite/sanei/Makefile.am
+@@ -15,7 +15,7 @@
+ PTHREAD_LIBS = @PTHREAD_LIBS@
+ TEST_LDADD = ../../sanei/libsanei.la ../../lib/liblib.la ../../lib/libfelib.la $(MATH_LIB) $(USB_LIBS) $(PTHREAD_LIBS)
+
+-check_PROGRAMS = sanei_usb_test test_wire sanei_check_test sanei_config_test sanei_constrain_test
++check_PROGRAMS = test_wire sanei_check_test sanei_config_test sanei_constrain_test
+ TESTS = $(check_PROGRAMS)
+
+ AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
+@@ -30,9 +30,6 @@
+ sanei_check_test_SOURCES = sanei_check_test.c
+ sanei_check_test_LDADD = $(TEST_LDADD)
+
+-sanei_usb_test_SOURCES = sanei_usb_test.c
+-sanei_usb_test_LDADD = $(TEST_LDADD)
+-
+ test_wire_SOURCES = test_wire.c
+ test_wire_LDADD = $(TEST_LDADD)
+
+--- a/testsuite/sanei/Makefile.in
++++ b/testsuite/sanei/Makefile.in
+@@ -77,7 +77,7 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-check_PROGRAMS = sanei_usb_test$(EXEEXT) test_wire$(EXEEXT) \
++check_PROGRAMS = test_wire$(EXEEXT) \
+ sanei_check_test$(EXEEXT) sanei_config_test$(EXEEXT) \
+ sanei_constrain_test$(EXEEXT)
+ subdir = testsuite/sanei