]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Added WINEPATH to fix MinGW CI tests
authorMarios Paouris <mspaourh@gmail.com>
Sat, 20 Jan 2024 08:43:12 +0000 (10:43 +0200)
committerMarios Paouris <mspaourh@gmail.com>
Sat, 20 Jan 2024 08:43:12 +0000 (10:43 +0200)
Signed-off-by: Marios Paouris <mspaourh@gmail.com>
.gitlab-ci.yml

index f18babfba5dfc60ff4a18c8813ea26b27dce852b..4f0eaf4f755bbd996a4e71b5fe2f3d8b226a39d6 100644 (file)
@@ -609,9 +609,9 @@ MinGW32/GnuTLS:
   - ./autogen.sh
   - mingw32-configure --without-gnutls-version-check CFLAGS=-g
   - make -j4
-# These tests seem to fail due to wine failing to start; setting as XFAIL
-# since these never run before this patch set.
-  - make VERBOSE=1 -j4 check XFAIL_TESTS="sigterm dtls-psk"
+# Setup wine path so tests won't fail due to unresolved dll dependencies
+  - export WINEPATH=/usr/i686-w64-mingw32/sys-root/mingw/bin\;.
+  - make VERBOSE=1 -j4 check
   tags:
   - shared
   except:
@@ -632,10 +632,9 @@ MinGW32/OpenSSL:
   - ./autogen.sh
   - mingw32-configure --without-gnutls --with-openssl --without-openssl-version-check CFLAGS=-g
   - make -j4
-# These tests seem to fail due to wine failing to start; setting as XFAIL
-# since these never run before this patch set. bad_dtls_test fails due
-# to an issue in fedora's openssl.
-  - make VERBOSE=1 -j4 check XFAIL_TESTS="sigterm dtls-psk bad_dtls_test.exe"
+# Setup wine path so tests won't fail due to unresolved dll dependencies
+  - export WINEPATH=/usr/i686-w64-mingw32/sys-root/mingw/bin\;.
+  - make VERBOSE=1 -j4 check
   tags:
   - shared
   except:
@@ -657,9 +656,9 @@ MinGW64/GnuTLS:
   - ./autogen.sh
   - mingw64-configure --without-gnutls-version-check CFLAGS=-g
   - make -j4
-# These tests seem to fail due to wine failing to start; setting as XFAIL
-# since these never run before this patch set.
-  - make VERBOSE=1 -j4 check XFAIL_TESTS="sigterm dtls-psk"
+# Setup wine path so tests won't fail due to unresolved dll dependencies
+  - export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin\;.
+  - make VERBOSE=1 -j4 check
   tags:
   - shared
   except:
@@ -681,10 +680,9 @@ MinGW64/OpenSSL:
   - ./autogen.sh
   - mingw64-configure --without-gnutls --with-openssl --without-openssl-version-check CFLAGS=-g
   - make -j4
-# These tests seem to fail due to wine failing to start; setting as XFAIL
-# since these never run before this patch set. bad_dtls_test fails due
-# to an issue in fedora's openssl.
-  - make VERBOSE=1 -j4 check XFAIL_TESTS="sigterm dtls-psk bad_dtls_test.exe"
+# Setup wine path so tests won't fail due to unresolved dll dependencies
+  - export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin\;.
+  - make VERBOSE=1 -j4 check
   tags:
   - shared
   except: