@@ -63,20 +63,13 @@ if(MSVC_IDE)
6363 set_source_files_properties ("precompiled.c" COMPILE_FLAGS "/Ycprecompiled.h" )
6464endif ()
6565
66- function (ADD_CLAR_TEST name )
67- if (NOT USE_LEAK_CHECKER STREQUAL "OFF" )
68- add_test (${name} "${PROJECT_SOURCE_DIR} /script/${USE_LEAK_CHECKER} .sh" "${PROJECT_BINARY_DIR} /libgit2_tests" ${ARGN} )
69- else ()
70- add_test (${name} "${PROJECT_BINARY_DIR} /libgit2_tests" ${ARGN} )
71- endif ()
72- endfunction (ADD_CLAR_TEST)
73-
74- add_clar_test(offline -v -xonline)
75- add_clar_test(invasive -v -score::ftruncate -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root)
76- add_clar_test(online -v -sonline -xonline::customcert)
77- add_clar_test(online_customcert -v -sonline::customcert)
78- add_clar_test(gitdaemon -v -sonline::push)
79- add_clar_test(ssh -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths -sonline::clone::path_whitespace_ssh)
80- add_clar_test(proxy -v -sonline::clone::proxy)
81- add_clar_test(auth_clone -v -sonline::clone::cred)
82- add_clar_test(auth_clone_and_push -v -sonline::clone::push -sonline::push)
66+ include (AddClarTest)
67+ add_clar_test(libgit2_tests offline -v -xonline)
68+ add_clar_test(libgit2_tests invasive -v -score::ftruncate -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root)
69+ add_clar_test(libgit2_tests online -v -sonline -xonline::customcert)
70+ add_clar_test(libgit2_tests online_customcert -v -sonline::customcert)
71+ add_clar_test(libgit2_tests gitdaemon -v -sonline::push)
72+ add_clar_test(libgit2_tests ssh -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths -sonline::clone::path_whitespace_ssh)
73+ add_clar_test(libgit2_tests proxy -v -sonline::clone::proxy)
74+ add_clar_test(libgit2_tests auth_clone -v -sonline::clone::cred)
75+ add_clar_test(libgit2_tests auth_clone_and_push -v -sonline::clone::push -sonline::push)
0 commit comments