Message-ID: Date: Wed, 8 Feb 2023 12:41:07 +0100 MIME-Version: 1.0 Content-Language: en-GB References: <20230208001819.244694-3-arne@...1227...> <20230208005925.393200-1-selva.nair@...277...> From: Arne Schwabe In-Reply-To: <20230208005925.393200-1-selva.nair@...277...> Subject: Re: [Openvpn-devel] [PATCH v3 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 08.02.23 um 01:59 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. > > v3: exclude check_engine_keys.sh when cross-compiling > As suggested by Arne Schwabe Acked-By: Arne Schwabe Arne