On Fri, Feb 10, 2023 at 4:13 PM Gert Doering <g...@greenie.muc.de> wrote:
> Hi, > > On Tue, Feb 07, 2023 at 07:59:25PM -0500, selva.n...@gmail.com wrote: > > From: Selva Nair <selva.n...@gmail.com> > > > > - Minor changes to the build system to include some > > dependencies for Windows build > > > > - test_tls_crypt not built as it will pull in win32.c and > > its dependencies > > > > - If cross-compiling, "make check" will only build the tests but not > > run any. Copy to Windows and run manually. Executables are in > > <buid-dir>/tests/unit_tests/openvpn/.libs/ and these depend on > > cmocka.dll in addition to openssl libs that some tests link to. > > I am something wrong, or I'm missing some bits. > > I took this patch, on top of commit e80720ef939 ("top of master as of > now"). MinGW on Ubuntu. "autoreconf -iv", make clean, then > make && make check. > > make check claims > > make[4]: Entering directory '/home/gert/mingw/openvpn.git/tests' > ================== > All 0 tests passed > ================== > > ... but it seems to have done... nothing? > My patch only enables to build the tests while cross-compiling but disables running them. As the executables are not native, you have to manually copy them to Windows and run there. With the next patch from Arne, GHA actions will copy it automagically to Windows and run there. But that works only for github actions. Selva
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel