libgit2/debian/patches/disable_tests.patch
Russell Sim d538205f3c Disable simple blame test
This simple blame test depends on the libgit2 repo which isn't shipped
in the orig tarball.
2014-03-24 09:23:37 +11:00

21 lines
479 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 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 -xblame::simple::trivial_libgit2)
ENDIF ()
IF (TAGS)