MIME-Version: 1.0 References: <20230208001819.244694-1-arne@...1227...> <20230208001819.244694-4-arne@...1227...> In-Reply-To: <20230208001819.244694-4-arne@...1227...> From: Selva Nair Date: Thu, 9 Feb 2023 18:01:20 -0500 Message-ID: Content-Type: multipart/alternative; boundary="000000000000e16ae005f44c5cbc" Subject: Re: [Openvpn-devel] [PATCH 3/5] Do not run check_engine test when crosscompiling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net --000000000000e16ae005f44c5cbc Content-Type: text/plain; charset="UTF-8" Hi, On Tue, Feb 7, 2023 at 7:19 PM Arne Schwabe wrote: > Signed-off-by: Arne Schwabe > --- > tests/unit_tests/engine-key/Makefile.am | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/unit_tests/engine-key/Makefile.am > b/tests/unit_tests/engine-key/Makefile.am > index 246222514..0c2888576 100644 > --- a/tests/unit_tests/engine-key/Makefile.am > +++ b/tests/unit_tests/engine-key/Makefile.am > @@ -12,7 +12,9 @@ TESTS_ENVIRONMENT = srcdir="$(abs_srcdir)"; \ > top_srcdir="$(top_srcdir)"; \ > export srcdir builddir top_builddir top_srcdir; > > +if !CROSS_COMPILING > TESTS = check_engine_keys.sh > +endif > check_engine_keys.sh: $(conffiles) > > CLEANFILES = \ > FTR, this patch is no longer needed (included in #2 below). So, the order of interdependent patches are: (All acked). 1. [Openvpn-devel,1/3] Conditionally add subdir-objects option to automake 2. [Openvpn-devel,v3,2/3] Build unit tests in mingw Windows build 3. [Openvpn-devel,4/5] Add missing stdint.h includes in unit tests files 4. [Openvpn-devel,v2,5/5] Add building unit tests with mingw to github actions Selva --000000000000e16ae005f44c5cbc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Tue, Feb 7, 2023 at 7:19 PM Arne Schwabe <arne@...1227...> = wrote:
Signed-of= f-by: Arne Schwabe <arne@...1227...>
---
=C2=A0tests/unit_tests/engine-key/Makefile.am | 2 ++
=C2=A01 file changed, 2 insertions(+)

diff --git a/tests/unit_tests/engine-key/Makefile.am b/tests/unit_tests/eng= ine-key/Makefile.am
index 246222514..0c2888576 100644
--- a/tests/unit_tests/engine-key/Makefile.am
+++ b/tests/unit_tests/engine-key/Makefile.am
@@ -12,7 +12,9 @@ TESTS_ENVIRONMENT =3D srcdir=3D"$(abs_srcdir)";= \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 top_srcdir=3D"$(top_srcdir)"; \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 export srcdir builddir top_builddir top_srcdir;=

+if !CROSS_COMPILING
=C2=A0TESTS =3D check_engine_keys.sh
+endif
=C2=A0check_engine_keys.sh: $(conffiles)

=C2=A0CLEANFILES =3D \

FTR, this patch = is no longer needed (included in #2 below). So, the order of interdependent= patches are: (All acked).

1. [Openvpn-devel,1/3] Conditionally add subdir-o= bjects option to automake
2. [Openvpn-devel,v3,2/3] Build unit tests in mingw Windows bui= ld
3. [Openvpn-deve= l,4/5] Add missing stdint.h includes in unit tests files
4. [Openvpn-devel,v2,5/5] Add buildi= ng unit tests with mingw to github actions

Selva
--000000000000e16ae005f44c5cbc--