summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-disable-database-tests.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 14:53:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 14:53:52 +0000
commit3ed143456d4270196c89e8e7e57badd439b44df4 (patch)
treefb241ff60337a450c34bfa02210a10fe0ddc9073 /debian/patches/0009-disable-database-tests.patch
parentAdding upstream version 2.5.7. (diff)
downloadisc-kea-3ed143456d4270196c89e8e7e57badd439b44df4.tar.xz
isc-kea-3ed143456d4270196c89e8e7e57badd439b44df4.zip
Adding debian version 2.4.1-3.debian/2.4.1-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0009-disable-database-tests.patch')
-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")
+ #