From: "cron2 (Code Review)" Date: Mon, 26 Jan 2026 15:41:14 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="BjIRxTF8eYA="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: GHA: Run openvpnserv UT for MinGW builds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --BjIRxTF8eYA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/14= 87?usp=3Demail ) Change subject: GHA: Run openvpnserv UT for MinGW builds ...................................................................... GHA: Run openvpnserv UT for MinGW builds Should have been added in commit b10ee38ccde5f155d02fcd3e8f1b1ab454826ab0. Note that test_openvpnserv.exe lives in a separate directory, so we need to make the code a bit more flexible. Change-Id: If61a91b4580864fd22162c94467ba3dda2045b7b Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1487 Message-Id: <20260126151122.588-1-gert@...1296...> Signed-off-by: Gert Doering --- M .github/workflows/build.yaml 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4570417..7d1574c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -100,13 +100,13 @@ path: | ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= ${{ matrix.build }}/*.exe ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= ${{ matrix.build }}/*.dll - !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${= { matrix.build }}/test_*.exe + !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**= /${{ matrix.build }}/test_*.exe - uses: actions/upload-artifact@...2978... # v6.0.0 with: name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests path: | - ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{= matrix.build }}/test_*.exe + ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= ${{ matrix.build }}/test_*.exe ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{= matrix.build }}/*.dll mingw-unittest: @@ -115,7 +115,7 @@ fail-fast: false matrix: arch: [x86, x64] - test: [argv, auth_token, buffer, cryptoapi, crypto, misc, options_= parse, ncp, packet_id, pkt, provider, ssl, tls_crypt, user_pass] + test: [argv, auth_token, buffer, cryptoapi, crypto, misc, options_= parse, ncp, openvpnserv, packet_id, pkt, provider, ssl, tls_crypt, user_pas= s] build: [Release, Debug] runs-on: windows-2025 @@ -129,7 +129,9 @@ name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests path: unittests - name: Run ${{ matrix.test }} unit test - run: ./unittests/test_${{ matrix.test }}.exe + run: | + $test_file=3D(Get-ChildItem -Path unittests -Filter test_${{ mat= rix.test }}.exe -Recurse).fullname + & $test_file env: srcdir: "${{ github.workspace }}/tests/unit_tests/openvpn" -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1487?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: If61a91b4580864fd22162c94467ba3dda2045b7b Gerrit-Change-Number: 1487 Gerrit-PatchSet: 3 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --BjIRxTF8eYA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

GHA: Run openvpnserv UT for MinGW builds

= Should have been added in commit
b10ee38ccde5f155d02fcd3e8f1b1ab454826ab= 0.

Note that test_openvpnserv.exe lives in a
separate directory, = so we need to make the
code a bit more flexible.

Change-Id: If61a= 91b4580864fd22162c94467ba3dda2045b7b
Signed-off-by: Frank Lichtenheld &l= t;frank@...2641...>
Acked-by: Gert Doering <gert@...1296...>Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1487
Message-Id: <= ;20260126151122.588-1-gert@...1296...>
Signed-off-by: Gert Doering &l= t;gert@...1296...>
---
M .github/workflows/build.yaml
1 file ch= anged, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml=

index 4570417..7d1574c 100644
--- a/.githu= b/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -100,13 +100,13 @@
path: |

${{ github.workspace }}/out/build/mingw/${{ matri= x.arch }}/**/${{ matrix.build }}/*.exe
${{ git= hub.workspace }}/out/build/mingw/${{ matrix.arch }}/**/${{ matrix.build }}/= *.dll
- !${{= github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{ matrix.build }}= /test_*.exe
+ = !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/${{ matr= ix.build }}/test_*.exe

- uses: act= ions/upload-artifact@...2978... # v6.0.0
with:
name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.b= uild }}-tests
path: |
- ${{ github.workspace }}/out/build/mi= ngw/${{ matrix.arch }}/${{ matrix.build }}/test_*.exe
+ ${{ github.workspace }}/out/b= uild/mingw/${{ matrix.arch }}/**/${{ matrix.build }}/test_*.exe
<= span> ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }= }/${{ matrix.build }}/*.dll


mingw-unit= test:
@@ -115,7 +115,7 @@
fail-fast:= false
matrix:
arch: [x86, = x64]
- test: [ar= gv, auth_token, buffer, cryptoapi, crypto, misc, options_parse, ncp, packet= _id, pkt, provider, ssl, tls_crypt, user_pass]
+ test: [argv, auth_token, buffer, cryptoa= pi, crypto, misc, options_parse, ncp, openvpnserv, packet_id, pkt, provider= , ssl, tls_crypt, user_pass]
build: [Release, Debu= g]

runs-on: windows-2025
<= span>@@ -129,7 +129,9 @@
name: openvpn-mingw-${{= matrix.arch }}-${{ matrix.build }}-tests
path: = unittests
- name: Run ${{ matrix.test }} unit test
- run: ./unittest= s/test_${{ matrix.test }}.exe
+ run: |
+ $test_file=3D(Get-ChildItem -Path unittests -Filter test_${{= matrix.test }}.exe -Recurse).fullname
+ & $test_file
env:=
srcdir: "${{ github.workspace }}/tests/uni= t_tests/openvpn"


To view, visit change 1487. To unsubscribe, or for help writing mail filters= , visit settings= .

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: If61a91b4580864fd22162c94467= ba3dda2045b7b
Gerrit-Change-Number: 1487
Gerrit-PatchSet: 3
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --BjIRxTF8eYA=--