]> git.pld-linux.org Git - packages/libgit2.git/blob - libgit2-test-online.patch
- updated to 0.22.1 (note: new soname)
[packages/libgit2.git] / libgit2-test-online.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 10caa16..714d86c 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -359,7 +359,12 @@ IF (BUILD_CLAR)
6         ENDIF ()
7  
8         ENABLE_TESTING()
9 -       ADD_TEST(libgit2_clar libgit2_clar -ionline)
10 +        IF (ONLINE_TESTS)
11 +           ADD_TEST(libgit2_clar libgit2_clar -ionline)
12 +        ELSE ()
13 +           ADD_TEST(libgit2_clar libgit2_clar -xonline -xnetwork::remote::remotes)
14 +        ENDIF ()
15 +
16  ENDIF ()
17  
18  IF (TAGS)
This page took 0.14539 seconds and 3 git commands to generate.