Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-14 Thread Gert Doering
Hi, On Sat, Feb 11, 2023 at 01:44:04PM -0500, Selva Nair wrote: > On Sat, Feb 11, 2023 at 1:32 PM Gert Doering wrote: > > > /bin/bash ../../../libtool --tag=CC --mode=link i686-w64-mingw32-gcc > > This is a 32 bit build which I never tried. Maybe cmocka is not built for > 32 bit? Yes, that

Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-11 Thread Selva Nair
Hi, On Sat, Feb 11, 2023 at 1:32 PM Gert Doering wrote: > > > /bin/bash ../../../libtool --tag=CC --mode=link i686-w64-mingw32-gcc This is a 32 bit build which I never tried. Maybe cmocka is not built for 32 bit? > -I/home/gert/mingw/opt/include -I/home/gert/mingw/opt/include > -I../../.

Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-11 Thread Gert Doering
Hi, On Fri, Feb 10, 2023 at 06:10:41PM -0500, Selva Nair wrote: > Ignore the previous email -- (I behaved as if I can't read more than a > pageful). :-) > Looks like unit-tests are not enabled during configure. For that, cmocka > should be available in the search path or set using CMOCKA_LIBS a

Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-10 Thread Selva Nair
Hi On Fri, Feb 10, 2023 at 4:13 PM Gert Doering wrote: > Hi, > > On Tue, Feb 07, 2023 at 07:59:25PM -0500, selva.n...@gmail.com wrote: > > From: Selva Nair > > > > - Minor changes to the build system to include some > > dependencies for Windows build > > > > - test_tls_crypt not built as it w

Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-10 Thread Selva Nair
On Fri, Feb 10, 2023 at 4:13 PM Gert Doering wrote: > Hi, > > On Tue, Feb 07, 2023 at 07:59:25PM -0500, selva.n...@gmail.com wrote: > > From: Selva Nair > > > > - Minor changes to the build system to include some > > dependencies for Windows build > > > > - test_tls_crypt not built as it will

Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-10 Thread Gert Doering
Hi, On Tue, Feb 07, 2023 at 07:59:25PM -0500, selva.n...@gmail.com wrote: > From: Selva Nair > > - 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, "

Re: [Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-08 Thread Arne Schwabe
Am 08.02.23 um 01:59 schrieb selva.n...@gmail.com: From: Selva Nair - 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

[Openvpn-devel] [PATCH v3 2/3] Build unit tests in mingw Windows build

2023-02-07 Thread selva . nair
From: Selva Nair - 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. Ex