From: Duy Nguyen Date: Mon, 26 Mar 2018 17:09:49 GMT Subject: Re: [PATCH v2 01/36] t/helper: add an empty test-tool program Message-ID: In-Reply-To: On Mon, Mar 26, 2018 at 5:27 PM, Johannes Schindelin wrote: > Hi Duy, > > On Sat, 24 Mar 2018, Nguyễn Thái Ngọc Duy wrote: > >> diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c >> new file mode 100644 >> index 0000000000..c730f718ca >> --- /dev/null >> +++ b/t/helper/test-tool.c >> @@ -0,0 +1,27 @@ >> +#include "git-compat-util.h" >> +#include "test-tool.h" >> + >> +struct test_cmd { >> + const char *name; >> + int (*main)(int argc, const char **argv); > > This makes the build fail on Windows, as we override `main` in > compat/mingw.h: Sigh.. not complaining, but I wish somebody tries to compile git with wine (and automate it in travis). This way we could at least cover the compilation part for all major platforms. Probably too small for a GSoC (and making the test suite pass with wine may be too large for GSoC) -- Duy