summaryrefslogtreecommitdiff
path: root/debian/patches/nousbtest.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
commit6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch)
tree2e301d871bbeeb44aa57ff9cc070fcf3be484487 /debian/patches/nousbtest.patch
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'debian/patches/nousbtest.patch')
-rw-r--r--debian/patches/nousbtest.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/nousbtest.patch b/debian/patches/nousbtest.patch
new file mode 100644
index 0000000..bf7deec
--- /dev/null
+++ b/debian/patches/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