From 2a5da4578847ac43cb5ac3e3493773c9f4e61afb Mon Sep 17 00:00:00 2001 From: Russell Sim Date: Mon, 17 Jun 2013 21:56:57 +1000 Subject: [PATCH] Disable online tests. Debian packages shouldn't require the internet during tests. Git-Dch: Short Closes: #712300 Thanks: Felix Geyer for the heads up. --- debian/patches/disable_online_tests.patch | 14 ++++++++++++++ debian/patches/series | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 debian/patches/disable_online_tests.patch diff --git a/debian/patches/disable_online_tests.patch b/debian/patches/disable_online_tests.patch new file mode 100644 index 000000000..35a3513e9 --- /dev/null +++ b/debian/patches/disable_online_tests.patch @@ -0,0 +1,14 @@ +Disable online tests. +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6bd25aa..f44190e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -349,7 +349,7 @@ IF (BUILD_CLAR) + ENDIF () + + ENABLE_TESTING() +- ADD_TEST(libgit2_clar libgit2_clar -ionline) ++ ADD_TEST(libgit2_clar libgit2_clar -xonline) + ENDIF () + + IF (TAGS) diff --git a/debian/patches/series b/debian/patches/series index 8b1378917..f582fa5af 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ - +disable_online_tests.patch