]> git.proxmox.com Git - libgit2.git/commitdiff
Disable tests requiring internet access
authorPirate Praveen <praveen@debian.org>
Sat, 19 May 2018 17:40:59 +0000 (23:10 +0530)
committerPirate Praveen <praveen@debian.org>
Sat, 19 May 2018 17:40:59 +0000 (23:10 +0530)
debian/patches/disable-online-tests.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/disable-online-tests.patch b/debian/patches/disable-online-tests.patch
new file mode 100644 (file)
index 0000000..f365557
--- /dev/null
@@ -0,0 +1,17 @@
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -53,11 +53,11 @@
+ ENDIF ()
+ IF (USE_HTTPS)
+-      ADD_TEST(libgit2_clar "${libgit2_BINARY_DIR}/libgit2_clar" -ionline -xclone::local::git_style_unc_paths -xclone::local::standard_unc_paths_are_written_git_style)
++      ADD_TEST(libgit2_clar "${libgit2_BINARY_DIR}/libgit2_clar" -xonline -xclone::local::git_style_unc_paths -xclone::local::standard_unc_paths_are_written_git_style)
+ ELSE ()
+       ADD_TEST(libgit2_clar "${libgit2_BINARY_DIR}/libgit2_clar" -v -xclone::local::git_style_unc_paths -xclone::local::standard_unc_paths_are_written_git_style)
+ ENDIF ()
+ # Add additional test targets that require special setup
+-ADD_TEST(libgit2_clar-proxy_credentials "${libgit2_BINARY_DIR}/libgit2_clar" -v -sonline::clone::proxy_credentials_in_url -sonline::clone::proxy_credentials_request)
+-ADD_TEST(libgit2_clar-ssh "${libgit2_BINARY_DIR}/libgit2_clar" -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths)
++ADD_TEST(libgit2_clar-proxy_credentials "${libgit2_BINARY_DIR}/libgit2_clar" -v -xonline::clone::proxy_credentials_in_url -xonline::clone::proxy_credentials_request)
++ADD_TEST(libgit2_clar-ssh "${libgit2_BINARY_DIR}/libgit2_clar" -v -xonline::push -xonline::clone::ssh_cert -xonline::clone::ssh_with_paths)
index cb486e5bbd68329669ef25880cf0926afb32b56c..a3aaab466e06e0bf462744d17b80465537f999c6 100644 (file)
@@ -1 +1,2 @@
 use-mbedtls.patch
+disable-online-tests.patch