libgit2/debian/patches/disable_tests.patch
2015-08-10 07:52:26 +10:00

21 lines
606 B
Diff

Disable incompatible tests
online - disable online tests.
blame::simple::trivial_libgit2 - requires the libgit2 directory to be
a repository
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c55ddd..e28a16f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -577,7 +577,7 @@ IF (BUILD_CLAR)
ENABLE_TESTING()
IF (WINHTTP OR OPENSSL_FOUND OR SECURITY_FOUND)
- ADD_TEST(libgit2_clar libgit2_clar -ionline)
+ ADD_TEST(libgit2_clar libgit2_clar -xonline -xnetwork::remote::remotes -xobject::cache -xthreads::diff -xthreads::iterator)
ELSE ()
ADD_TEST(libgit2_clar libgit2_clar -v)
ENDIF ()