notify gitter on travis build failures
[sddekit.git] / test / main.c
blob4e162cf6eaf7d9f6905534a8b189d188994f9ea4
1 /* copyright 2016 Apache 2 sddekit authors */
3 #include "sddekit.h"
4 #include "test.h"
6 #define TEST_FOUND(name) int name();
7 #include "test_list.h"
8 #undef TEST_FOUND
10 #ifdef _MSC_VER
11 #include "windows.h"
12 #endif
14 int main() {
16 #ifdef _MSC_VER
17 char buf[1024];
18 GetCurrentDirectory(1024, buf);
19 sd_log_info("cwd is %s\n", buf);
20 #endif
22 #define TEST_FOUND(name) \
23 name();
24 #include "test_list.h"
25 #undef TEST_FOUND
27 sd_log_set_verbose(1);
28 return sd_test_report();