Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index 6b498939d..3de4f9801 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -8,10 +8,15 @@ int main(int argc, char *argv[])
{
int res;
+ clar_test_init(argc, argv);
+
git_threads_init();
+ cl_sandbox_set_search_path_defaults();
/* Run the test suite */
- res = clar_test(argc, argv);
+ res = clar_test_run();
+
+ clar_test_shutdown();
giterr_clear();
git_threads_shutdown();