Commit f82d996e by Vicent Martí

Merge pull request #544 from nulltoken/fix/thread-tests

threads: Make the old test suite TLS aware...
parents 279afd2a 1e53b52e
......@@ -77,6 +77,8 @@ main(int GIT_UNUSED(argc), char *GIT_UNUSED(argv[]))
GIT_UNUSED_ARG(argc);
GIT_UNUSED_ARG(argv);
git_threads_init();
p_umask(0);
failures = 0;
......@@ -84,6 +86,8 @@ main(int GIT_UNUSED(argc), char *GIT_UNUSED(argv[]))
for (i = 0; i < GIT_SUITE_COUNT; ++i)
failures += git_testsuite_run(suite_methods[i]());
git_threads_shutdown();
return failures ? -1 : 0;
}
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