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:
authorVicent Marti <tanoku@gmail.com>2012-12-19 03:12:26 +0400
committerVicent Marti <tanoku@gmail.com>2013-01-02 05:05:11 +0400
commit156cfec096fd71cbd6d15592e80d164b8f3b55ad (patch)
treecd094a1cbf813efe0d6f33e3cdd1a3477ea44b2a /tests-clar/main.c
parent036e81f72613e59fdf344af57ed0a381ade356b0 (diff)
Cleanup Clar to make it SIMPLER
Diffstat (limited to 'tests-clar/main.c')
-rw-r--r--tests-clar/main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests-clar/main.c b/tests-clar/main.c
new file mode 100644
index 000000000..e9b3b641c
--- /dev/null
+++ b/tests-clar/main.c
@@ -0,0 +1,16 @@
+#include "clar_libgit2.h"
+
+int main(int argc, char *argv[])
+{
+ int res;
+
+ git_threads_init();
+
+ /* Run the test suite */
+ res = clar_test(argc, argv);
+
+ giterr_clear();
+ git_threads_shutdown();
+
+ return res;
+}