mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
CI: run proxy tests with ctest
Running clar directly on appveyor makes it think the command returned failure, so it stops the tests. Running it via ctest lets it go through.
This commit is contained in:
parent
0d72f67f28
commit
b8353236bc
@ -690,6 +690,8 @@ IF (BUILD_CLAR)
|
|||||||
# Add a test target which runs the cred callback tests, to be
|
# Add a test target which runs the cred callback tests, to be
|
||||||
# called after setting the url and user
|
# called after setting the url and user
|
||||||
ADD_TEST(libgit2_clar-cred_callback libgit2_clar -v -sonline::clone::cred_callback)
|
ADD_TEST(libgit2_clar-cred_callback libgit2_clar -v -sonline::clone::cred_callback)
|
||||||
|
ADD_TEST(libgit2_clar-proxy_credentials_in_url libgit2_clar -v -sonline::clone::proxy_credentials_in_url)
|
||||||
|
ADD_TEST(libgit2_clar-proxy_credentials_request libgit2_clar -v -sonline::clone::proxy_credentials_request)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
IF (TAGS)
|
IF (TAGS)
|
||||||
|
@ -41,8 +41,8 @@ test_script:
|
|||||||
$env:GITTEST_REMOTE_USER="libgit2test"
|
$env:GITTEST_REMOTE_USER="libgit2test"
|
||||||
ctest -V -R libgit2_clar-cred_callback
|
ctest -V -R libgit2_clar-cred_callback
|
||||||
$env:GITTEST_REMOTE_PROXY_URL = "http://foo:bar@localhost:8080"
|
$env:GITTEST_REMOTE_PROXY_URL = "http://foo:bar@localhost:8080"
|
||||||
.\Debug\libgit2_clar.exe -sonline::clone::proxy_credentials_in_url
|
ctest -V -R libgit2_clar-proxy_credentials_in_url
|
||||||
$env:GITTEST_REMOTE_PROXY_URL = "http://localhost:8080"
|
$env:GITTEST_REMOTE_PROXY_URL = "http://localhost:8080"
|
||||||
$env:GITTEST_REMOTE_PROXY_USER = "foo"
|
$env:GITTEST_REMOTE_PROXY_USER = "foo"
|
||||||
$env:GITTEST_REMOTE_PROXY_PASS = "bar"
|
$env:GITTEST_REMOTE_PROXY_PASS = "bar"
|
||||||
.\Debug\libgit2_clar.exe -sonline::clone::proxy_credentials_request
|
ctest -V -R libgit2_clar-proxy_credentials_request
|
||||||
|
Loading…
Reference in New Issue
Block a user