File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -682,6 +682,10 @@ IF (BUILD_CLAR)
682
682
ELSE ()
683
683
ADD_TEST (libgit2_clar libgit2_clar -v)
684
684
ENDIF ()
685
+
686
+ # Add a test target which runs the cred callback tests, to be
687
+ # called after setting the url and user
688
+ ADD_TEST (libgit2_clar-cred_callback libgit2_clar -v -sonline::clone::cred_callback)
685
689
ENDIF ()
686
690
687
691
IF (TAGS)
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ build_script:
37
37
if "%GENERATOR%"=="MSYS Makefiles" (C:\MinGW\msys\1.0\bin\sh --login /c/projects/libgit2/script/appveyor-mingw.sh)
38
38
test_script :
39
39
- ps : |
40
- ctest -V .
40
+ ctest -V -R libgit2_clar
41
41
$env:GITTEST_REMOTE_URL="https://github.com/libgit2/non-existent"
42
42
$env:GITTEST_REMOTE_USER="libgit2test"
43
- .\Debug\libgit2_clar -sonline::clone:: cred_callback
43
+ ctest -V -R libgit2_clar- cred_callback
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ git daemon --listen=localhost --export-all --enable=receive-pack --base-path="$H
25
25
export GITTEST_REMOTE_URL=" git://localhost/test.git"
26
26
27
27
# Run the test suite
28
- ctest -V . || exit $?
28
+ ctest -V -R libgit2_clar || exit $?
29
29
30
30
# Now that we've tested the raw git protocol, let's set up ssh to we
31
31
# can do the push tests over it
59
59
60
60
export GITTEST_REMOTE_URL=" https://github.com/libgit2/non-existent"
61
61
export GITTEST_REMOTE_USER=" libgit2test"
62
- ./libgit2_clar -sonline::clone::cred_callback || exit $?
62
+ ctest -V -R libgit2_clar-cred_callback
You can’t perform that action at this time.
0 commit comments