summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-disable-database-tests.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:45 +0000
commit7997b0d23671890191a2269fdea8d16c53dfbe05 (patch)
treeabfb4de3de840068ad7a123981cc2198e7a17827 /debian/patches/0009-disable-database-tests.patch
parentAdding upstream version 2.4.1. (diff)
downloadisc-kea-7997b0d23671890191a2269fdea8d16c53dfbe05.tar.xz
isc-kea-7997b0d23671890191a2269fdea8d16c53dfbe05.zip
Adding debian version 2.4.1-2.debian/2.4.1-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/0009-disable-database-tests.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/0009-disable-database-tests.patch b/debian/patches/0009-disable-database-tests.patch
new file mode 100644
index 0000000..7d008c8
--- /dev/null
+++ b/debian/patches/0009-disable-database-tests.patch
@@ -0,0 +1,26 @@
+Description: Skip the database tests
+ The MySQL and PostgreSQL tests require a server with username,
+ password and tables setup for the test, see doc/devel/unit-tests.dox.
+ There's no way to instruct the build system to skip specific tests,
+ so let's disable them with a patch.
+Forwarded: not-needed
+Author: Paride Legovini <paride.legovini@canonical.com>
+Last-Update: 2020-12-03
+--- a/src/bin/admin/tests/mysql_tests.sh.in
++++ b/src/bin/admin/tests/mysql_tests.sh.in
+@@ -1,4 +1,6 @@
+ #!/bin/sh
++echo "SKIPPING MYSQL TEST"
++exit 0
+
+ # Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+ #
+--- a/src/bin/admin/tests/pgsql_tests.sh.in
++++ b/src/bin/admin/tests/pgsql_tests.sh.in
+@@ -1,4 +1,6 @@
+ #!/bin/sh
++echo "SKIPPING POSTGRESQL TEST"
++exit 0
+
+ # Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
+ #