From patchwork Wed Feb 8 00:18:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 8 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7300:c95:b0:82:e4b3:40a0 with SMTP id p21csp4396729dyk; Tue, 7 Feb 2023 16:19:21 -0800 (PST) X-Google-Smtp-Source: AK7set9JubEY4W/UEOL9SVTMIc3rN6yh05WhZB+chbWEvO8xmJ1Ljoei3GVkwy2LYvda4MrNAi0M X-Received: by 2002:a17:902:9a45:b0:198:f1c4:dd59 with SMTP id x5-20020a1709029a4500b00198f1c4dd59mr4030810plv.14.1675815561667; Tue, 07 Feb 2023 16:19:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675815561; cv=none; d=google.com; s=arc-20160816; b=D0VhOB2dXYxSZgCbV9wbOTX3A3AYoXT6mVzxGwndFursWjYEznahC6BJcQO3w5Qx/3 edXVpLU1oAMSgYmrkqfISlGEYLqoQJdzvWTLO623OcoxWTfN3AXVF0yZQkZXTknChh6q gKgI/oFGv7HQfJjUP3pi0SwEfoR5Mb9jL1lgZuxV44jIXkZHTFQom7qRCQag/4gZK4Sv t2RQXtxY9vOHFetKRRnd6zrVpC/cMPUNR6fXJ8GzL93COb+IpnaBX3PQRUXVaHY39KaN IAK3Z73DJspdnFgAXmmcQyXlrTENjqe4RwKqNfd45p65cZiJnJ8DPVu5Gij5xYx1Gw3A SRwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:dkim-signature; bh=7kJFPMMIOwjwgHmZBWyPj5CS62YLeTrvW9d3Qg+4m2g=; b=vyrBYFHN42tUgPIKoZ1B5pXVmD/NgD6/XC9isDZmotWzW0TJWp4KKqqRbJSNkQj2ys VZJQLzsGIYdhbdegtikqvJJeaQQM3NuiqLplxrRAeCLgZ4iaPnq80TXbdt6U21GvC6vp AxCEt6F47Y+IkRWiRpimK6JcIbBU2D9XLSuCAyJL3C/J8rUVEKYLiNeuSgWBpD8sCqh7 bZC9G1A2NvFVuTcpVSIKC3dLAZKS24pbkEa6JqI0INSeWBfmEhz6U6h8Q5yeYG5pSf3Y pgiPyNEm+7ExF/NaYOUCb33aLI/df8Dc0ITi9S2bNbVAj4qP0p0gBICU5umT6cRmjQP+ 7rLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=cJoZMDhC; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=bLzDAyTJ; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id h129-20020a636c87000000b004b9d6e65788si15214542pgc.236.2023.02.07.16.19.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2023 16:19:21 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=cJoZMDhC; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=bLzDAyTJ; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1pPYAT-0006YA-IK; Wed, 08 Feb 2023 00:18:32 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pPYAR-0006Y3-Jc for openvpn-devel@lists.sourceforge.net; Wed, 08 Feb 2023 00:18:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pYaa1GsxXHkLIz2mT5xqVWqc2IqQjhTaYMLwYvhswZc=; b=cJoZMDhCulrbgKlK5tcV+5EscP K4OKVcvWnGuXkXipVlx8+RU/Vt9py7J0zdFsCz5FLB5g994wT+cUR7s95ABJuokoNkxa43ooqXnfS 3pKQa/F6nJ9qRA/jJANR2Yy5lK/C3kgNVad5g9OIiCAHkwYF6PSWyBPQATCjX8CwpDF4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=pYaa1GsxXHkLIz2mT5xqVWqc2IqQjhTaYMLwYvhswZc=; b=b LzDAyTJhKE3F6KlQa33/lDyZXDQq1pSuqomIevJd79UMY0qOk1qZb/hKEcRkiNOjdAXFOhhO7pJ5t eUodmvZngpMjGRYzboTwfNuLKx576WXQHaBeDl/Fk3PxmewWqC9D7UUaKzDyMIfttR6HRZn6UEVxM XDFyVzuLQlHekTJs=; Received: from mail.blinkt.de ([192.26.174.232]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1pPYAN-00E951-8r for openvpn-devel@lists.sourceforge.net; Wed, 08 Feb 2023 00:18:30 +0000 Received: from kamera.blinkt.de ([2001:638:502:390:20c:29ff:fec8:535c]) by mail.blinkt.de with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1pPYAF-000FIc-U7 for openvpn-devel@lists.sourceforge.net; Wed, 08 Feb 2023 01:18:19 +0100 Received: (nullmailer pid 244740 invoked by uid 10006); Wed, 08 Feb 2023 00:18:19 -0000 From: Arne Schwabe To: openvpn-devel@lists.sourceforge.net Date: Wed, 8 Feb 2023 01:18:14 +0100 Message-Id: <20230208001819.244694-1-arne@rfc2549.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Score: 0.3 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This patch also includes the previous patches from Sevla to make the dependency from these patches clear. Patch 0/3 can be squashed into 2/5 as it is only a minor fixup of that patch. The Github actions could probably made a little bit nicer, eg by static compiling and requiring copying less dlls but since these binaries are not meant to be distributed, I don't think it is an issue [...] Content analysis details: (0.3 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Headers-End: 1pPYAN-00E951-8r Subject: [Openvpn-devel] [PATCH 0/5] Build and run unittests with mingw in Github actions X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1757219978360840620?= X-GMAIL-MSGID: =?utf-8?q?1757219978360840620?= This patch also includes the previous patches from Sevla to make the dependency from these patches clear. Patch 0/3 can be squashed into 2/5 as it is only a minor fixup of that patch. The Github actions could probably made a little bit nicer, eg by static compiling and requiring copying less dlls but since these binaries are not meant to be distributed, I don't think it is an issue. Arne Schwabe (3): Do not run check_engine test when crosscompiling Add missing stdint.h includes in unit tests files Add building unit tests with mingw to github actions Selva Nair (2): Conditionally add subdir-objects option to automake Build unit tests in mingw Windows build .github/workflows/build.yaml | 110 +++++++++++++++++++++- configure.ac | 17 +++- tests/Makefile.am | 3 + tests/unit_tests/engine-key/Makefile.am | 2 + tests/unit_tests/example_test/Makefile.am | 2 + tests/unit_tests/example_test/test.c | 1 + tests/unit_tests/example_test/test2.c | 1 + tests/unit_tests/openvpn/Makefile.am | 28 +++++- tests/unit_tests/openvpn/mock_msg.c | 1 + 9 files changed, 157 insertions(+), 8 deletions(-)