aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kea/disable-db-tests.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-07 12:19:51 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-07 12:36:52 +0100
commit912c46e94003d1c002516dc0a270fa9048ca72d6 (patch)
tree6fd519c538e7365ec5a7125fe72b62bd00be7d2a /testing/kea/disable-db-tests.patch
parentf0c4cff7972c4d3fa1961565efaa5d83f061e04b (diff)
downloadaports-912c46e94003d1c002516dc0a270fa9048ca72d6.tar.bz2
aports-912c46e94003d1c002516dc0a270fa9048ca72d6.tar.xz
testing/kea: run tests
Diffstat (limited to 'testing/kea/disable-db-tests.patch')
-rw-r--r--testing/kea/disable-db-tests.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/kea/disable-db-tests.patch b/testing/kea/disable-db-tests.patch
new file mode 100644
index 0000000000..4c67ff64a8
--- /dev/null
+++ b/testing/kea/disable-db-tests.patch
@@ -0,0 +1,18 @@
+Tests for MySQL/PostgreSQL/Cassandra integration are kinda broken, they expect
+already initialized databases prepared for Kea tests.
+
+We have to modify the autohelled Makefile.in instead of Makefile.am because Kea
+requires old automake-1.15.
+
+--- a/src/bin/admin/tests/Makefile.in
++++ b/src/bin/admin/tests/Makefile.in
+@@ -389,8 +389,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = data .
+-SHTESTS = memfile_tests.sh $(am__append_1) $(am__append_2) \
+- $(am__append_3)
++SHTESTS = memfile_tests.sh
+ noinst_SCRIPTS = $(SHTESTS)
+ EXTRA_DIST = dhcpdb_create_1.0.mysql dhcpdb_create_1.0.pgsql \
+ dhcpdb_create_1.0.cql