summaryrefslogtreecommitdiffstats
path: root/debian/patches/Disable-tests-requiring-Internet-access.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/Disable-tests-requiring-Internet-access.patch')
-rw-r--r--debian/patches/Disable-tests-requiring-Internet-access.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/Disable-tests-requiring-Internet-access.patch b/debian/patches/Disable-tests-requiring-Internet-access.patch
new file mode 100644
index 0000000..7589a35
--- /dev/null
+++ b/debian/patches/Disable-tests-requiring-Internet-access.patch
@@ -0,0 +1,32 @@
+From: Lukas Schwaighofer <lukas@schwaighofer.name>
+Date: Sun, 11 Nov 2018 10:09:35 +0100
+Subject: Disable tests requiring Internet access.
+
+Tests requiring Internet access will fail on Debian's autobuilding
+machines.
+
+Forwarded: not-needed
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7e9aa98..12c65a0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -112,13 +112,13 @@ ADD_TEST(test_trie tests/test_trie)
+ ADD_TEST(test_ht_spkitable tests/test_ht_spkitable)
+ ADD_TEST(test_ht_spkitable_locks tests/test_ht_spkitable_locks)
+
+-ADD_TEST(test_live_validation tests/test_live_validation)
++#ADD_TEST(test_live_validation tests/test_live_validation)
+
+ ADD_TEST(test_ipaddr tests/test_ipaddr)
+
+ ADD_TEST(test_getbits tests/test_getbits)
+
+-ADD_TEST(test_dynamic_groups tests/test_dynamic_groups)
++#ADD_TEST(test_dynamic_groups tests/test_dynamic_groups)
+
+ #install lib
+ set (RTRLIB_VERSION_MAJOR 0)