Message-ID: Date: Tue, 7 Feb 2023 12:59:56 +0100 MIME-Version: 1.0 Content-Language: en-GB References: <20230204004512.250271-2-selva.nair@...277...> <20230204064010.257925-1-selva.nair@...277...> From: Arne Schwabe In-Reply-To: <20230204064010.257925-1-selva.nair@...277...> Subject: Re: [Openvpn-devel] [PATCH v2 2/3] Build unit tests in mingw Windows build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: selva.nair@...277..., openvpn-devel@lists.sourceforge.net Am 04.02.23 um 07:40 schrieb selva.nair@...277...: > 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. Executables are in > /tests/unit_tests/openvpn/.libs/ and these depend on > cmocka.dll in addition to openssl libs that some tests link to. > > Building with mingw on Windows should run the tests (untested). > > v2: networking_testdriver was mistakenly enabled to run, while > originally it was only set to build. Corrected. > I am currently testing this and also trying to add this to the Github actions. This patch seems fine but I get other weird errors and cmocka builds fine crosscompiling on my own machine but breaks for some reason in Github Actions. I am looking into these problems and will give a full review after I solved those issues. Arne