Unverified Commit 1604be06 by Edward Thomson Committed by GitHub

Merge pull request #6120 from libgit2/ethomson/cmake_test

cmake: re-enable WinHTTP
parents 7a15213e 1b8d14ac
......@@ -111,6 +111,7 @@ include(DefaultCFlags)
add_subdirectory(src)
if(BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif()
......
if(WIN32 AND WINHTTP)
if(WIN32 AND USE_WINHTTP)
set(GIT_WINHTTP 1)
# Since MinGW does not come with headers or an import library for winhttp,
......
......@@ -68,8 +68,6 @@ function(ADD_CLAR_TEST name)
endif()
endfunction(ADD_CLAR_TEST)
enable_testing()
add_clar_test(offline -v -xonline)
add_clar_test(invasive -v -score::ftruncate -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root)
add_clar_test(online -v -sonline -xonline::customcert)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment