main.c 278 Bytes
Newer Older
1 2
#include "clar_libgit2.h"

3
#ifdef _WIN32
Vicent Marti committed
4
int __cdecl main(int argc, char *argv[])
5
#else
Vicent Marti committed
6
int main(int argc, char *argv[])
7
#endif
8 9 10 11 12 13 14 15 16 17 18 19 20
{
	int res;

	git_threads_init();

	/* Run the test suite */
	res = clar_test(argc, argv);

	giterr_clear();
	git_threads_shutdown();

	return res;
}